Is there any way a vector/matrix that is initialized in an iterative program be reset, so that MATLAB doesn't recognize it in the next iteration even after it has been evaluated in a previous iteration, so that it could be resized depending upon the value of a parameter evaluated at runtime during every iteration.

 채택된 답변

Walter Roberson
Walter Roberson 2011년 2월 5일

0 개 추천

Ummm, like
clear VariableName

추가 답변 (1개)

Amarpal
Amarpal 2011년 2월 6일

0 개 추천

Thanks a lot. New to MATLAB :)

카테고리

도움말 센터File Exchange에서 Problem-Based Optimization Setup에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by