フィルターのクリア

.m file to excutable file in linux

5 ビュー (過去 30 日間)
Mehebuba
Mehebuba 2013 年 6 月 25 日
Hi I am working in matlab linux. I want to convert my .m files to executable file so that I can run it in another linux machine.I tried doing mcc -m filename.m -o newfile But it creates run_newfile.sh and newfile.o files. How do I convert this .sh file to executbale or how can I run this .sh file in other machine. When I try to run for test in the same m/c with sh run command it gives out put as- ""------------------------------------------ Usage: run_hobe.sh deployedMCRroot args"
please help

回答 (1 件)

David Sanchez
David Sanchez 2013 年 6 月 25 日
You are dealing with two different platforms. The software you create in one, is not easily usable in the other. You can try installing the cygwin package in your linux machine, what is in the standard repository (look for it in synaptic package manager). That tool helps creating a .exe (windows executable files) from a .sh (linux executable files).
  1 件のコメント
Mehebuba
Mehebuba 2013 年 6 月 26 日
Hi thanks for your reply, I want to run the executable file in another linux m/c. So I have the .sh file how do i run it? I tried to run it in the same linux m/c with sh command but it doesn't give me out put.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeManage Products についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by