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:

 Réponse acceptée

Ronald Godagandeni Dewage
Ronald Godagandeni Dewage le 11 Fév 2021
Modifié(e) : Voss le 14 Déc 2023
i think the found the answer its;
if isempty(answer)
return
end
let me know if anyone got better abetter idea

Plus de réponses (0)

Catégories

Community Treasure Hunt

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

Start Hunting!

Translated by