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

34 vues (au cours des 30 derniers jours)
Vahidoo
Vahidoo le 24 Mar 2017
Commenté : Vahidoo le 29 Mar 2017
Is it possible to call a live script matlab file from another one? Thank you.

Réponse acceptée

mizuki
mizuki le 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 commentaires
mizuki
mizuki le 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.
Vahidoo
Vahidoo le 29 Mar 2017
Thank you.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Get Started with MATLAB dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by