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

31 Ansichten (letzte 30 Tage)
Vahidoo
Vahidoo am 24 Mär. 2017
Kommentiert: Vahidoo am 29 Mär. 2017
Is it possible to call a live script matlab file from another one? Thank you.

Akzeptierte Antwort

mizuki
mizuki am 26 Mär. 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 Kommentare
mizuki
mizuki am 27 Mär. 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.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Get Started with MATLAB finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by