S function does not exist
5 ビュー (過去 30 日間)
古いコメントを表示
Hi,
I have just installed a new library for SIMULINK called 'Aerosim Blockset' on Windows 10. After installing succesfully, when I try to run the model, it gives me the following error: * Error in S-function 'aerosonde_trim/Aerosonde UAV (Euler-angle kinematics)/Earth/WMM-2000/S-Function': S-Function 'sfunwmm' does not exist*. I have made sure that the file sfunwmm.c exists in the directory, as well as the files with extensions .def,.dsp,.dsw. I would appreciate any help!!!
7 件のコメント
dream sun
2020 年 2 月 17 日
I meet am error when runing a demo, such as "S-Function 'sfunwmm' does not existn". I need your help, can we have a contact, my emil is heastdream@hotmail.com
Moh Ebah
2020 年 10 月 23 日
編集済み: Moh Ebah
2020 年 10 月 23 日
1, install the aerosim in program file, instead of program files(x86)
2, compile the sfunction using mingw as https://www.mathworks.com/matlabcentral/answers/335824-s-function-does-not-exist
3 add src folder to matlab path using pathtool It will be solved in sha Allah I tried in 18b 64bit
回答 (2 件)
OLA ELHASSAN
2015 年 12 月 9 日
2 件のコメント
Islam Elnady
2017 年 2 月 22 日
Hi Ola, Can we contact? I'm working on Aerosim Blockset and I might need your help. Kindly!
Thank you, Islam
Abdalaziz Kabeel
2023 年 10 月 8 日
I have the same error but in the (S-Function 'sfunflightgear092') i have tried to compile the cpp file of this function but it does not work
i would appreciate any help
li zengyan
2015 年 12 月 29 日
You are right, the aerosim block can only run in the 32 bit version of matlab, because of the "dll" files
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!