Declaring persistent variables in scripts is not supported in R2019b?
Afficher commentaires plus anciens
Declaring persistent variables in scripts is not supported in R2019b?
1 commentaire
Stephen23
le 8 Juil 2023
"Declaring persistent variables in scripts is not supported in R2019b?"
MATLAB does not support persistent variables in scripts:
MATLAB has supported persistent variables in functions since before R2006a:
Réponses (2)
Walter Roberson
le 28 Oct 2019
0 votes
I just checked back to R2015a and it has not been supported in any release back that far.
Lacey Fauci
le 8 Juil 2023
0 votes
I just figured this out. I called the function "funtion" - misspelling the word function. After I spelled it correctly, it fixed the syntax error and I was able to call in all my persistent variables with no problem. - July 2023
Catégories
En savoir plus sur Whos dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!