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

回答(0 个)

标签

提问:

2012-5-3

Community Treasure Hunt

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

Start Hunting!

Translated by