S function does not exist
显示 更早的评论
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 个评论
Walter Roberson
2015-12-7
编辑:Walter Roberson
2015-12-7
Did you follow the installation instructions?
Also, which MATLAB version are you using with your Windows 10 system? If you are not using R2015b then you might have a fair bit of difficulty getting a compiler to work.
OLA ELHASSAN
2015-12-7
编辑:Walter Roberson
2015-12-7
Walter Roberson
2015-12-7
Windows 10 SDK will not work with R2014b.
OLA ELHASSAN
2015-12-7
OLA ELHASSAN
2015-12-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
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 个投票
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
0 个投票
You are right, the aerosim block can only run in the 32 bit version of matlab, because of the "dll" files
类别
在 帮助中心 和 File Exchange 中查找有关 Application Deployment 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!