How to display whos y in GUI edit text or static text ?
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
file1='speech_demo.wav'
[y,Fs]=audioread(file1);
whos y
How to display whos y in GUI edit text or static text ?
2 Kommentare
Akzeptierte Antwort
Jan
am 2 Mai 2018
Bearbeitet: Jan
am 2 Mai 2018
The actual problem is:
set(handles.edit7, 'String', CStr);
but i get the following warning :
Warning: Single line Edit Controls can not have multi-line text
All you have to do is to convert the GUI element from an "single line edit control" to a "multi-line edit control". According to dox uicontrol (link):
To enable multiple lines of text, set Max-Min>1
And as code:
set(handles.edit7, 'Min', 0, 'Max', 2);
Or apply the corresponding changes in GUIDE.
You see how useful it is to post the error or warning message in a question on the forum.
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Environment and Settings finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!