Saving displayed text as text file

I have some certain warnings in my script which appear if a certain condition is fulfilled eg;
G = find(P_Trigger_State == 2);
if (G > 0 );
disp('*****Override Occurred*****');
end;
Is there a way to save the displayed text in a notepad file output?
Thanks

Risposte (0)

Categorie

Tag

Richiesto:

il 3 Mag 2012

Community Treasure Hunt

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

Start Hunting!

Translated by