Can s sunctions compiled in win 32 bit be used in linux 32/64 bit

1 Ansicht (letzte 30 Tage)
Erik
Erik am 13 Sep. 2011
Hi!
I am currently using matlab 32bit for linux and i ran in to trouble when trying to simulate a large simulunk model containing a s-function which was compiled in matlab for win 32bit. During the simulation the simulink model couldn't locate the s-function.
My question is if you have to compile the s-function using a mex compiler for linux in order to make it work? I have tried the model in win32 and it works fine.

Antworten (1)

Jan
Jan am 13 Sep. 2011
You have to compile the function under linux.

Kategorien

Mehr zu Prepare Model Inputs and Outputs finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by