How to edit *.m files on Matlab Mobile?

55 ビュー (過去 30 日間)
Pavel 2012 年 1 月 18 日
コメント済み: James Baker 2021 年 4 月 17 日
Hi! Is it possible to edit *.m files on MATLAB Mobile (I'm using iPad version)? The command "edit file.m" doesn't work. Thank you in advance!
Regards, Pavel


Michael Katz
Michael Katz 2012 年 1 月 18 日
There is no way to edit files with MATLAB Mobile. Well, at least not without directly manipulating the text in the workspace with functions like textscan and fprintf.
  3 件のコメント
Michael Katz
Michael Katz 2012 年 1 月 20 日
Sorry. That's what I get for answering without enough coffee. I've updated my statement, thanks.


その他の回答 (3 件)

Pradeep 2016 年 10 月 25 日

The current versions of the app (both iOS and Android) provide an editor to create new files and edit existing files. Download these here:



Henrik Asplund
Henrik Asplund 2012 年 1 月 27 日
I use the following setup on my Mac and iPad for editing .m files:
  • SSH enabled on Mac
  • For editing the .m files I use Textastic code editor on iPad. It can upload/download the files over SFTP to/from the Matlab directory on my Mac, and can highlight Matlab .m syntax
  • Matlab mobile is connected to the Matlab on my Mac in the usual way.
Basically all you need is a code editor on the mobile device and a way to easily transfer the files over e.g. SSH to the right folder. Then you just download the .m file, edit it and put it back.
I assume this setup can be used with Windows and Linux, too.
  2 件のコメント
Shayan Hakimi
Shayan Hakimi 2015 年 10 月 30 日
What is the SFTP port and address of MATLAB mobile cloud?


David Fischer
David Fischer 2016 年 4 月 23 日
Good tip on using DropBox. If you're on a Mac and want Dropbox to be synced with Matlab Drive, so edits in an outside editor are available for use in Matlab Mobile, you can use MacDropAny:
If you like using the Command Line, see here to do this manually:
  1 件のコメント
James Baker
James Baker 2021 年 4 月 17 日
ahhhhh good suggestion... was wondering about this exact thing! thank



Community Treasure Hunt

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

Start Hunting!

Translated by