Aerosim library on 64 bit R2015b, Windows 10

15 ビュー (過去 30 日間)
OLA ELHASSAN
OLA ELHASSAN 2015 年 12 月 8 日
コメント済み: ELAHEH AGHAMIRBAHA 2023 年 11 月 7 日
I have installed the Aerosim blockset on my computer, running on Windows 10 (64 bit), with R2015b for 54 bit installed. I am having problems with .c files compiling. I have tried recompiling using the mex command but get an error:
mex sfunwmm.c
Building with 'MinGW64 Compiler (C)'.
Error using mex
C:\Users\Ola\AppData\Local\Temp\mex_191807593053327_11204\sfunwmm.obj:sfunwmm.c:(.text+0x1ab): undefined reference to
`InitGeomag'
C:\Users\Ola\AppData\Local\Temp\mex_191807593053327_11204\sfunwmm.obj:sfunwmm.c:(.text+0x232): undefined reference to
`RunGeomag'
collect2.exe: error: ld returned 1 exit status
My questions are:
  1. Does Aerosim even work on 64 bit R2015b?
  2. In that case, is the only solution to run a virtual machine running windows 32 bit, then installing R2015b? Or will the needed functionalities be supported by running a 32 bit version of R2015b on my 64 bit Windows 10 OS?
  3 件のコメント
Walter Roberson
Walter Roberson 2023 年 11 月 6 日
It looks like AeroSim Blockset was a third party product from u-Dynamics but it does not appear to be available any more.
ELAHEH AGHAMIRBAHA
ELAHEH AGHAMIRBAHA 2023 年 11 月 7 日
@Walter Roberson Many thanks for your respond.

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

回答 (3 件)

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.
  1 件のコメント
Ana Alejandra Acosta
Ana Alejandra Acosta 2022 年 3 月 16 日
hello, how are you doing this? i dont have any idea that how to fix the sfunction error

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


Harshvardhan Singh Chauhan
Harshvardhan Singh Chauhan 2018 年 11 月 12 日
Hey can you tell me how to install aerosim library on MATLAB 2016b

Christoph
Christoph 2019 年 12 月 16 日
I just installed the AeroSim library on Matlab 2019b sucessfully with this hint:
First, ensure that you've installed a mex compiler
mex -setup
Then go to the subfolder src\sfunwmm and run
mex sfunwmm.c wmmutil.c -I../common
Then replace the sfunwmm.dll of the mainfolder with the new mex-file.
If you get any errors with the wmm-config file replace the path in the models' mask of the WMM.COF in the main install folder.
  3 件のコメント
Burak Özkan
Burak Özkan 2022 年 3 月 13 日
Can you help me where can I download Aerosim Blockset?
Walter Roberson
Walter Roberson 2022 年 3 月 13 日
Aerosim Blockset is a Mathworks product https://www.mathworks.com/products/aerospace-blockset.html
Note that it is not available for Student license.

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

カテゴリ

Help Center および File ExchangeTroubleshooting in MATLAB Compiler SDK についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by