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:

 Akzeptierte Antwort

Ronald Godagandeni Dewage
Ronald Godagandeni Dewage am 11 Feb. 2021
Bearbeitet: Voss am 14 Dez. 2023

0 Stimmen

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

Weitere Antworten (0)

Kategorien

Mehr zu Programming finden Sie in Hilfe-Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by