Is running MEX functions possible in MATLAB Mobile

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