Is running MEX functions possible in MATLAB Mobile

조회 수: 3 (최근 30일)
David Powell
David Powell 2018년 5월 30일
댓글: David Powell 2018년 5월 31일
I'm attempting to run some software I've developed on MATLAB desktop on MATLAB mobile and am getting a Attempt to execute SCRIPT as FUNCTION error when trying to call a MEX function. Does anybody know if it's possible to run MEX functions in mobile?
  댓글 수: 2
Walter Roberson
Walter Roberson 2018년 5월 31일
Which architecture did you compile the mex for? If I recall correctly, MATLAB Online uses Linux.
MATLAB Mobile can either connect to MATLAB Online or to your own host. If you are using it to connect to our own host, then you can have it run whatever mex are appropriate for your system.
David Powell
David Powell 2018년 5월 31일
Hi, thanks for your reply, I compiled the files on a mac then copied them into MATLAB drive which I guess is why it isn't working. I've tried compiling in MATLAB online but am getting an error saying the command mex is not supported. I'll try compiling on a linux machine and see if that works.

댓글을 달려면 로그인하십시오.

답변 (1개)

Jan
Jan 2018년 5월 30일
Du you have the Signal Processing Toolbox? The call the buffer command, which is a mex function.
Do you have an M-file for the help section of the documentation of the C-mex file? Can you post a copy of the error message? Add the information, what the current path is - when this is meaningful in Matlab Mobil.

카테고리

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