How to edit *.m files on Matlab Mobile?

조회 수: 6 (최근 30일)
Pavel
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
Walter Roberson
Walter Roberson 2012년 1월 18일
The rest of the wording suggests that Michael meant to say "There is no way currently [...]"
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
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:

iOS: https://itunes.apple.com/us/app/matlab-mobile/id370976661?mt=8

Android: https://play.google.com/store/apps/details?id=com.mathworks.matlabmobile


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
Pavel
Pavel 2012년 1월 27일
Thank you, Henrik!
Currently, I'm doing it in a similar way. I'm just using Dropbox to transfer/synchronize my *.m files with my windows and linux computers.
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: 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
  댓글 수: 1
James Baker
James Baker 2021년 4월 17일
ahhhhh good suggestion... was wondering about this exact thing! thank

댓글을 달려면 로그인하십시오.

커뮤니티

더 많은 답변 보기:  원격 교육 커뮤니티

카테고리

Help CenterFile Exchange에서 MATLAB Mobile에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by