Is it possibile to use a p-file in Matlab Mobile?

4 views (last 30 days)
I created a p-file in MATLAB 2021 on my computer and I want to use it on my phone. Is it possible?

Answers (1)

Rik
Rik on 1 Dec 2021
As far as I'm aware, Matlab mobile is only a portal into Matlab online. So if you can use that p-file there your should be able to use it on your phone as well.
If you want local native execution, you should probably look for other methods, e.g. using Coder to convert your Matlab code to C/C++ and compile it to whatever binary your phone requires. If that is an iPhone it might require jailbraking to run code that isn't in an app-store app.
  2 Comments
Krzysztof Stawicki
Krzysztof Stawicki on 1 Dec 2021
Thank you for the answer. I had a problem with the transfer of the p-file and that's why I thought the p-file wouldn't work. In my mobile MATLAB there is no option "upload p-file" or anything similar. The only way to move file to MATLAB Drive is "upload photos". So I've change the name of the file to name.gif and it works. I do not know why only images can be uploaded?
Rik
Rik on 1 Dec 2021
Odd. That seems an oversight to me. I suspect there is already a way to upload Matlab files (m/mat/p/mex), but it just is hard to find. No that that isn't a problem in itself. You could contact Mathworks support.

Sign in to comment.

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Products


Release

R2021b

Community Treasure Hunt

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

Start Hunting!