Make executable matlab files

Hallo,
I am running matlab in a remote unix server through ssh, My connection isnt stable so i normally use -nohup- command. Unfortunately i dont know how to execute matlab files with this way.
I need a way to make an .m file as executable file and then execute it using the -nohup command. Is there a way to do that?
Thank you in advance

回答(3 个)

Image Analyst
Image Analyst 2012-11-5

0 个投票

I don't know what the -nohup- command is. Do you have the compiler toolbox and did you compile it into a standalone executable? After that you install it on a target computer and run it just like you would any other program.
Nikolaos
Nikolaos 2012-11-5

0 个投票

ok,i need a way to compile a matlab file to an executable format, so as to run it without first have to open matlab.
For example i need sth similar to type run test.m -nohup
(nohup means that the server will keep running even if i log off)
thanks again.
Walter Roberson
Walter Roberson 2012-11-5

0 个投票

You will need the MATLAB Compiler, which is an optional and expensive toolbox.
I would suggest that you consider using the Linux "screen" facility, or use "vnc", as either method can allow you to connect and disconnect from sessions leaving them running.

类别

在 帮助中心 和 File Exchange 中查找有关 Manage Products 的更多信息

提问:

2012-11-5

Community Treasure Hunt

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

Start Hunting!

Translated by