Is there a code to take values from the fprintf ?
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
stavros boutsikos
am 9 Nov. 2020
Kommentiert: Star Strider
am 10 Nov. 2020
fprintf('% 5d %8.3i %8.3i\n',i,strain,stress)
is there a code that can extract the last column of my fprint? the stresses?
thank you very much in advance
0 Kommentare
Akzeptierte Antwort
Star Strider
am 9 Nov. 2020
Since you are printing to the Command Window and not a file, likely not.
However ‘stress’ is obviously in your workspace, so there is no need for you to extract it. Just use the value you have.
4 Kommentare
James Tursa
am 10 Nov. 2020
@Star: I was actually responding to a comment made by OP, which has since been deleted for some reason.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Stress and Strain finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!