Export data to text file

2 次查看(过去 30 天)
LINDO MTSWENI
LINDO MTSWENI 2019-5-6
I have the following information From the code I created
Beam number = 2
Weight = 56.01
Maximum stress = 169.34
I want export the above that to a text file called BestBeam.txt
It should look like this
Beam Data: 2
Weight: 56.01 Kg
Maximum Stress: 169.43 MPa
Can someone tell help me
  7 个评论
Walter Roberson
Walter Roberson 2019-5-6
Where is your cell array that contains the unit to use for each element?
LINDO MTSWENI
LINDO MTSWENI 2019-5-6
I'm so sorry I forgot to put it in...I looks like this units={ ' ','Kg',' MPa'};

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Migrate GUIDE Apps 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by