フィルターのクリア

How to store mcc generated matlab executable output into a mat file form the unix?

2 ビュー (過去 30 日間)
YOGENDRA SINGH BHANDARI
YOGENDRA SINGH BHANDARI 2020 年 8 月 14 日
コメント済み: David Goodmanson 2020 年 8 月 15 日
I have generated executable of a matlab script using the mcc command. Along with the executable file, mcc also hands out a .sh file which I am running through bash. My question is how can we save the output array in some kind of .mat file in the bash itself. Can we do that?
  2 件のコメント
Walter Roberson
Walter Roberson 2020 年 8 月 14 日
Which output array is that?
If you are talking about text that is output by your executable and ends up in stdout, then I would recommend changing your script to add a save() command -- much easier than parsing the text output and finding a tool outside MATLAB that could write the parsed output to a .mat file.
David Goodmanson
David Goodmanson 2020 年 8 月 15 日
Congratulations, Walter!
1e5 points is a remarkable achievement.
Plus an equally important forest of comments, not included in the count, that helped people do better at Matlab.

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

回答 (0 件)

カテゴリ

Help Center および File ExchangeC Shared Library Integration についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by