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

31 次查看(过去 30 天)
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.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Get Started with MATLAB 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by