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

1 view (last 30 days)
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.

Answers (1)

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

Categories

Find more on MATLAB Compiler in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!