How to save output in MATLAB Mobile?

Hello. I am trying out MATLAB Mobile both on my android device and ipad, but I do not know how to save or export the output in other form, or perhaps write them into cloud. I mean, usually on MATLAB desktop I often write to Excel like using xlswrite or writematrix, etc, but it looks like these are not supported on this app. How can I do that so that I do not need to re-open and read command window anytime? Suggestions are much appreciated. Thanks.

 Akzeptierte Antwort

Cris LaPierre
Cris LaPierre am 30 Aug. 2021

0 Stimmen

MATLAB Mobile uses MATLAB Drive for its file system. MATLAB Drive is a cloud-based storage system. You can access anything you save in MATLAB Mobile in MATLAB Drive online.
In addition, MATLAB Drive is also the file system of MATLAB Online. Therefore, anything you save in MATLAB Mobile will also be accessible in MATLAB Online.
Finally, if you install MATLAB Drive Connector, the contents in your MATLAB Drive can be synced to a local folder. You can then access that locally.
You should therefore be able to use the same save/export options you normally would to save the data. I'd suggest using newer functions like writetable and writematrix over xlswrite.

6 Kommentare

S. B. M.
S. B. M. am 30 Aug. 2021
@Cris LaPierre Oh thanks! So we can indeed do that! Nice!
This maybe is a different topic, but although I have read about compatibility consideration on the xlswrite/read page, it looks like we need to do more sometimes when using writematrix/writecell, don't we?
For example, I want a simple output like xlswrite('filename.xlsx', 'ABC'), which gives A, B, and C on separate columns. But to produce the same result using writematrix/writecell, which is supposedly the newer function, I need either writematrix(num2cell('ABC'), 'filename.xlsx'), or writecell({'A' 'B' 'C'}, 'filename.xlsx'), no? Doesn't that mean we need to know a bit more (like the more variable types or something) and do a bit more, and especially for laymen/newbies they can become not-so-simple?
I mean, although it is mentioned that "no plan to remove xlswrite in the future", I hope it stays like that, but I also hope there are "newer" or more compatible version of xlswrite that does the same simple thing. Or perhaps I misunderstood everything haha. Thanks anyway!
Cris LaPierre
Cris LaPierre am 30 Aug. 2021
To me, it is odd that xlswrite('filename.xlsx', 'ABC') puts A, B, and C in different columns. They are not separated by any delimiters, so it seems to me like they should be placed in the same cell rather than one in each cell. The behavior of writetable/matrix is the behavior I would expect.
S. B. M.
S. B. M. am 30 Aug. 2021
So there is indeed preference, right? Thinking of when I learned xlswrite first time, it was indeed a blessing as I am kinda glad I did not have to think of the difference between matrix and table (which to me can be thought both as arrays of variables xD ), and especially cell array which I hardly understood during my layman period haha
Anyway, if it is OK, is it possible to use a touch input in MATLAB Mobile? For example, instead of asking me/user to type with the line: input('Type 1 if yes, and type 0 if no : '), perhaps there is a way to input by simply pressing buttons on screens instead of typing, since we are mostly doing it on smartphones. The answer I just searched says that GUI is not supported, but does that mean such simple touchscreen option also is not either? Just wondering. Thank you.
Cris LaPierre
Cris LaPierre am 30 Aug. 2021
See the corresponding product page for the latest information.
Under limitations, it currently states:
The following features are not supported:
  • Using MATLAB apps, such as Curve Fitting
  • Creating apps with App Designer
  • Interacting with 3D figures
  • Opening or creating models using the Simulink graphical environment
S. B. M.
S. B. M. am 30 Aug. 2021
My apologies as I do not understand the connection. Correct me if I'm wrong, but do you mean that from the second point "creating apps with App designer not supported", I can conclude that what I wanted to do is not supported?
Assuming that is the case, I do not actually plan to make an app. I only specifically want to input stuff in the Command Window by touching something instead of typing.
I checked this page https://www.mathworks.com/matlabcentral/answers/181900-can-i-run-gui-by-matlab-mobile, which links to another page http://www.mathworks.com/mobile/frequently-asked-questions.html, which did not exist, and it was 5 years ago so maybe something has changed.
Cris LaPierre
Cris LaPierre am 9 Mai 2023
You can run apps you have made elsewhere, but cannot design the app in MATLAB Mobile.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (1)

Kategorien

Mehr zu Startup and Shutdown finden Sie in Hilfe-Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by