App designer Textarea issue
Mostra commenti meno recenti
Hey people, I am pretty new to matlab programming and I am trying to make an app for my masters thesis. Everything works except one thing, I am trying to read one word from a txt file and push in into the textarea value in appdesigner after a button is pushed. If I read the value of strp, it tells the word and its a string but for some reason it just wont appear in the TextArea :(
Could You help me out, thanks!
fileID = fopen('Prediction.txt');
app.predi = textscan(fileID,'%c');
fclose(fileID);
x = app.predi{1,1};
app.strp = convertCharsToStrings(x);
app.PredikcianruTextArea.Value = app.strp;
2 Commenti
Kevin Chng
il 27 Feb 2019
attach your prediction.txt here. It will help if anyone is willing to try out.
Imrich K
il 27 Feb 2019
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Multirate Signal Processing in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!