Export data to text file
Mostrar comentarios más antiguos
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 comentarios
Rik
el 6 de Mayo de 2019
What have you tried so far? It shouldn't be too hard to find an example of how to write a file.
LINDO MTSWENI
el 6 de Mayo de 2019
Walter Roberson
el 6 de Mayo de 2019
fopen fprintf fclose
Walter Roberson
el 6 de Mayo de 2019
It is possible to write your desired output with dlmwrite(), but it is not intended to do that and the method for tricking it into doing so are harder to implement and less understandable than simply using fopen() / fprintf() / fclose()
LINDO MTSWENI
el 6 de Mayo de 2019
Walter Roberson
el 6 de Mayo de 2019
Where is your cell array that contains the unit to use for each element?
LINDO MTSWENI
el 6 de Mayo de 2019
Respuestas (0)
Categorías
Más información sobre Large Files and Big Data en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!