How to creat and edit m-file on linux server?
Show older comments
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
Walter Roberson
on 29 Sep 2018
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 ?
Shakir Hussain
on 29 Sep 2018
Walter Roberson
on 29 Sep 2018
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?
Shakir Hussain
on 30 Sep 2018
Walter Roberson
on 30 Sep 2018
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?
Shakir Hussain
on 30 Sep 2018
Edited: Shakir Hussain
on 30 Sep 2018
Walter Roberson
on 30 Sep 2018
What happens when you try to edit an existing .m file by name?
Shakir Hussain
on 30 Sep 2018
Walter Roberson
on 30 Sep 2018
I think you will probably need to contact Mathworks Support for free installation assistance on this one.
Shakir Hussain
on 1 Oct 2018
Edited: Shakir Hussain
on 1 Oct 2018
Walter Roberson
on 1 Oct 2018
The normal way at least used to be to xsh or equivalent to the server, have X display back to the client.
Shakir Hussain
on 1 Oct 2018
Walter Roberson
on 1 Oct 2018
I think you will need Mathworks Support on this one.
Answers (0)
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!