Declaring persistent variables in scripts is not supported in R2019b?

Declaring persistent variables in scripts is not supported in R2019b?

댓글 수: 1

"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:

댓글을 달려면 로그인하십시오.

답변 (2개)

Walter Roberson
Walter Roberson 2019년 10월 28일

0 개 추천

I just checked back to R2015a and it has not been supported in any release back that far.
Lacey Fauci
Lacey Fauci 2023년 7월 8일

0 개 추천

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

카테고리

제품

태그

질문:

2019년 10월 28일

댓글:

2023년 7월 8일

Community Treasure Hunt

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

Start Hunting!

Translated by