MATLAB Answers

0

Is running MEX functions possible in MATLAB Mobile

Asked by David Powell on 30 May 2018
Latest activity Commented on by David Powell on 31 May 2018
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 Comments

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.
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.

Sign in to comment.

Tags

1 Answer

Answer by Jan
on 30 May 2018

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.

  0 Comments

Sign in to comment.