필터 지우기
필터 지우기

S function does not exist

조회 수: 23 (최근 30일)
OLA ELHASSAN
OLA ELHASSAN 2015년 12월 7일
댓글: Abdalaziz Kabeel 2023년 10월 8일
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
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
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
OLA ELHASSAN 2015년 12월 9일
I finally managed to get it to work by installing a 32 bit version of R2015b and then re-installing the Aerosim blockset. Everything is working, no more errors.
  댓글 수: 2
Islam Elnady
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
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
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

카테고리

Help CenterFile Exchange에서 Manage Products에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by