Is it possible to call a live script matlab file from another one?

32 ビュー (過去 30 日間)
Vahidoo
Vahidoo 2017 年 3 月 24 日
コメント済み: Vahidoo 2017 年 3 月 29 日
Is it possible to call a live script matlab file from another one? Thank you.

採用された回答

mizuki
mizuki 2017 年 3 月 26 日
Do you mean by another MATLAB file? If so, yes. If the live script name is livescript.mlx, call it from .m file like
>> livescript
  3 件のコメント
mizuki
mizuki 2017 年 3 月 27 日
Yes, it is possible (at least on R2017a).
Attached test_live2.mlx calls another file, test_live1.mlx, which loads the variable a and b, not defined in test_live2.mlx.
Vahidoo
Vahidoo 2017 年 3 月 29 日
Thank you.

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeGet Started with MATLAB についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by