Aerospace Blockset demos run error

2 ビュー (過去 30 日間)
Islam Elnady
Islam Elnady 2017 年 3 月 25 日
コメント済み: Islam Elnady 2017 年 3 月 30 日
In Matlab R2017a When I try to run the Aerospace examples model (demos), for example 'asbSkyHogg'.. There are undefined functions or variables.
Error evaluating 'InitFcn' callback of Digital DATCOM Forces and Moments block (mask) 'asbSkyHogg/Vehicle System Model/Vehicle/Aerodynamics/Digital DATCOM Forces and Moments'. Caused by: Undefined function 'aeroddatcominit' for input arguments of type 'struct'.

回答 (2 件)

Star Strider
Star Strider 2017 年 3 月 26 日
You did not mention what version of MATLAB you have. The current online documentation and demos are for R2017a. They may not be compatible with earlier versions.
If you have R2017a, Contact Support to ask MathWorks to help you solve the problem.
  1 件のコメント
Islam Elnady
Islam Elnady 2017 年 3 月 26 日
Yes it's Matlab R2017a

サインインしてコメントする。


Walter Roberson
Walter Roberson 2017 年 3 月 26 日
I find
/Applications/MATLAB_R2017a.app/toolbox/aeroblks/aeroblks/aeroddatcominit.m
When I run the demo, I do not get that initializing error; instead I get an error about send failure on a UDP port. Which makes sense considering that I do not have a Flightgear device for it to talk to.
  3 件のコメント
Walter Roberson
Walter Roberson 2017 年 3 月 26 日
Try
which -all aeroddatcominit.m
If nothing shows up under toolbox/aeroblks/aeroblks then you need to reinstall the Aerospace Blocks for R2017a.
Islam Elnady
Islam Elnady 2017 年 3 月 30 日
Was something with my license. I got it working now. Thanks for help!

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeGet Started with Aerospace Blockset についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by