App designer Textarea issue
Ältere Kommentare anzeigen
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 Kommentare
Kevin Chng
am 27 Feb. 2019
attach your prediction.txt here. It will help if anyone is willing to try out.
Imrich K
am 27 Feb. 2019
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Multirate Signal Processing finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!