Is there a code to take values from the fprintf ?
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
Star Strider
2020-11-9
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 个评论
James Tursa
2020-11-10
@Star: I was actually responding to a comment made by OP, which has since been deleted for some reason.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Stress and Strain 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!