标题:[求助]matlab的switch语句
只看楼主
chenmingvacuum
Rank: 1
等 级:新手上路
帖 子:6
专家分:0
注 册:2006-7-31
 问题点数:0 回复次数:0 
[求助]matlab的switch语句
val = get(hobject,'Value');
str = get(hobject,'String');
switch str{val}
case 'peak' % User selects peaks
handles.current_data = handles.peaks;
case 'membrane' % User selects membrane
handles.current_data = handles.membrane;
case 'sinc' % User selects sinc
handles.current_data = handles.sinc;
end
帮我看一下str{val}是什么意思?
搜索更多相关主题的帖子: 语句 switch matlab 
2006-07-31 14:44



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-81224-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.412449 second(s), 7 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved