フィルターのクリア

Including external text in Matlab code

1 回表示 (過去 30 日間)
Moshe
Moshe 2012 年 9 月 1 日
I am writing a script to solve a set of differential equations in Matlab. The equations and related objects are generated externally (in Mathematica) and translated to Matlab format. The end point of that process results in (many) snippets of text which I can cut and paste into the Matlab script in the appropriate places. It would be nicer to be able to load that text from a file into the script in the appropriate places. How do I do that?

採用された回答

Walter Roberson
Walter Roberson 2012 年 9 月 1 日
Write the output to a .m file, and use run()
  1 件のコメント
Moshe
Moshe 2012 年 9 月 1 日
That works, thanks!

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeData Import and Export についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by