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 个)

类别

在 帮助中心 和 File Exchange 中查找有关 Environment and Settings 的更多信息

标签

提问:

2012-5-3

Community Treasure Hunt

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

Start Hunting!

Translated by