im trying to find a way if my variable 'answer' (which is a cell) is blank/empty, how to stop the script.
I initially tried:
answer variable is:
error:

 채택된 답변

Ronald Godagandeni Dewage
Ronald Godagandeni Dewage 2021년 2월 11일
편집: Voss 2023년 12월 14일

0 개 추천

i think the found the answer its;
if isempty(answer)
return
end
let me know if anyone got better abetter idea

추가 답변 (0개)

카테고리

도움말 센터 및 File Exchange에서 Numeric Types에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by