MATLAB程序语言设计 .pptVIP

  • 2
  • 0
  • 约3.76千字
  • 约 22页
  • 2020-07-02 发布于江西
  • 举报
7.5 可视界面开发工具 GUIDE 介绍 Check Box 的编程 Check Button 选还是没有被选由 Value 属性值来确定 Value = Max, 被选. Value = Min, 没有被选 Check Box 的 Callback 编程如下。 function checkbox1_Callback(h,eventdata,handles,varargin) if (get(h,Value) == get(h,Max)) % then checkbox is checked-take approriate action else % checkbox is not checked-take approriate action end 7.5 可视界面开发工具 GUIDE 介绍 Edit Text 的编程 从 Edit Text 中取数值 function edittext1_Callback(h,eventdata,handles,varargin) user_string = get(h,string); % proceed with callback... function edittext1_Callback(h,eventdata,handles,varargin) user_entry = str2double(get(h,string

文档评论(0)

1亿VIP精品文档

相关文档