Why does running a script cause a memory error, while running the same script as a function does not?

1 vue (au cours des 30 derniers jours)
I have found that running a script as a script by simply calling it from the command line causes a memory error, yet, running the same script as a function does not. Does anyone know why this is the case?
  5 commentaires
Jos (10584)
Jos (10584) le 23 Fév 2016
How do you run a script as a function? Did you edit the m-file?

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Logical dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by