Aerospace Blockset demos run error
조회 수: 4 (최근 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'.
댓글 수: 0
답변 (2개)
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.
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
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.
참고 항목
카테고리
Help Center 및 File Exchange에서 Get Started with Aerospace Blockset에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!