Make executable matlab files
2 ビュー (過去 30 日間)
古いコメントを表示
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
0 件のコメント
回答 (3 件)
Image Analyst
2012 年 11 月 5 日
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.
0 件のコメント
Nikolaos
2012 年 11 月 5 日
1 件のコメント
Image Analyst
2012 年 11 月 5 日
In my answer I mentioned the compiler. You'll need that and the link is here: http://www.mathworks.com/products/compiler/ It's also in the FAQ: http://matlab.wikia.com/wiki/FAQ#How_can_I_make_a_standalone_executable_from_my_MATLAB_code.3F
Walter Roberson
2012 年 11 月 5 日
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.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で MATLAB Compiler についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!