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

1 回表示 (過去 30 日間)
Erik
Erik 2011 年 9 月 13 日
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 Center および File ExchangePrepare Model Inputs and Outputs についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by