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

44 views (last 30 days)
Is it possible to call a live script matlab file from another one? Thank you.

Accepted Answer

mizuki
mizuki on 26 Mar 2017
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 Comments
mizuki
mizuki on 27 Mar 2017
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.

Sign in to comment.

More Answers (0)

Categories

Find more on Live Scripts and Functions in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!