How to edit *.m files on Matlab Mobile?
25 views (last 30 days)
More Answers (3)
Pradeep on 25 Oct 2016
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 on 27 Jan 2012
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.
David Fischer on 23 Apr 2016
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: http://www.zibity.com/macdropany.html
If you like using the Command Line, see here to do this manually: http://hints.macworld.com/article.php?story=20120803093247391