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

1 次查看(过去 30 天)
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.

回答(1 个)

Jan
Jan 2011-9-13
You have to compile the function under linux.

类别

Help CenterFile Exchange 中查找有关 MATLAB Compiler 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by