How to display whos y in GUI edit text or static text ?
1 次查看(过去 30 天)
显示 更早的评论
file1='speech_demo.wav'
[y,Fs]=audioread(file1);
whos y
How to display whos y in GUI edit text or static text ?
2 个评论
采纳的回答
Jan
2018-5-2
编辑:Jan
2018-5-2
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 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Environment and Settings 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!