App Designer: Display content of a txt file on a text area
18 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi,
the GUI i'm currently working on read a 2-columns file from txt and i want to show those values (numeric) on a text area mantining the columns separated.
Any suggestion will be very appreciated,
thank you.
Alessandro
0 commentaires
Réponses (1)
Mario Malic
le 15 Fév 2021
Hello,
Try this and see if the output is correct.
app.TextString = fileread('file.txt');
app.TextArea.Value = app.TextString;
Voir également
Catégories
En savoir plus sur Develop Apps Using App Designer 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!