How to creat and edit m-file on linux server?

I am using xming to access ubuntu server from windows 10 to use matlab there. I have successfully accessed and open matlab there and can run the written m-filefor one time but I could not edit the existing or create new m-file. What wrong I am doing here and how can I fix it?

13 Comments

Is this like a permission problem? Are you saying that you cannot invoke the editor, or that the editor fails to respond to your characters, or that you are able to edit but you are not able to save the result ?
I could not edit or create m-file. I am not sure whether it is permission issue or something else. Yesterday I did edit m-file just for one time.
If you go to the command line and give the command
edit help
then does it bring up the source for help() ? Does it produce an error message?
Which directory are you in when you try to create a file?
Yes
edit help
Bring up the help() source and it is not producing any error. For directory, the server manager of our school has specified a partition for me which is like name/home/...
If you cd to your home directory, and invoke
edit
then can you type in some code? If you can, then what happens when you ask to save the file?
I did cd to my directory and can write and save m.file for one time but could not edit is again. When I tried to edit the name of m.file or codes inside it then I do not see a cursor and could not edit even I can select it.
What happens when you try to edit an existing .m file by name?
Edited the previous comment, kindly have a look
I think you will probably need to contact Mathworks Support for free installation assistance on this one.
Thanks for your valuable comments. By the way what is the normal way to edit create and mfile on ubuntu server?
The normal way at least used to be to xsh or equivalent to the server, have X display back to the client.
Yes, I am using xming with putty to get access and display of ubuntu server on windows 10. This time edit mfile allowed me to edit for one time after that again the same issue. I guess the issue is something either related to server or matlab itself.
I think you will need Mathworks Support on this one.

Sign in to comment.

Answers (0)

Categories

Asked:

on 29 Sep 2018

Commented:

on 1 Oct 2018

Community Treasure Hunt

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

Start Hunting!