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 CenterFile Exchange에서 Prepare 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