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:

 采纳的回答

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