save a fprintf as text file
10 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Niklas Reinshagen
le 24 Mai 2020
Commenté : Niklas Reinshagen
le 25 Mai 2020
Hey, I've wrote a line of code wich displays the percentage of the Earth Layers Volume.
fprintf('\nPercentage of the EarthLayer:\nCore: %.1f%%\nMantle: %.1f%%\nCrust: %.1f%%\n\n',PercentCore,PercentMantle,PercentCrust)
The Problem is, when i use the save command, is stores a text file but only with the number 74 in it... How can I fix this problem? It should be stores in the way it is displayd under the fprintf-Command code line.
Réponse acceptée
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Cell Arrays dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!