How to grab message from command window and take action in code depending on it.
Afficher commentaires plus anciens
How to check command window output and performe action depending on it.
for k = 1:500;
z=z+1;
check(z); %% check.p file checking z and gives output in command window
%% code that should breake the code if command window throws "z is correct"
end
Réponse acceptée
Plus de réponses (1)
Walter Roberson
le 12 Oct 2019
0 votes
Use evalc()
Catégories
En savoir plus sur Debugging and Analysis dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!