Is running MEX functions possible in MATLAB Mobile

3 vues (au cours des 30 derniers jours)
David Powell
David Powell le 30 Mai 2018
Commenté : David Powell le 31 Mai 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 commentaires
Walter Roberson
Walter Roberson le 31 Mai 2018
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 le 31 Mai 2018
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.

Connectez-vous pour commenter.

Réponses (1)

Jan
Jan le 30 Mai 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.

Catégories

En savoir plus sur MATLAB Compiler dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by