Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
could anyone tell me how to save the values while the code is getting executed
조회 수: 1 (최근 30일)
이전 댓글 표시
could anyone tell me how to save the values while the code is getting executed
댓글 수: 0
답변 (2개)
Aakash Deep
2018년 6월 1일
Use save command to save the current value of the variable.
save filename variable1
This will create .mat file (for this, filename.mat) in your current working directory. If you want to store multiple variables in a single file, you can do it by adding variable name in the same command.
save filename var1 var2 var_n
It is good when the value of the variable is changing.
댓글 수: 0
이 질문은 마감되었습니다.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!