Mantain a variable for the next cycle

조회 수: 1 (최근 30일)
luca
luca 2019년 9월 25일
답변: Walter Roberson 2019년 9월 25일
Hi,
I've generate a code and I want to run the code different times. Everytime I run the code I would like to mantain a variable in the workspace that I need for the following run.
May someone explain me how to do it?

채택된 답변

Walter Roberson
Walter Roberson 2019년 9월 25일
See persistent()

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기

태그

제품


릴리스

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by