声振论坛

 找回密码
 我要加入

QQ登录

只需一步,快速开始

查看: 1920|回复: 1

[GUI界面] 为什么我的Matlab GUI中没有Toolbar Editor?

[复制链接]
发表于 2007-12-1 14:52 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?我要加入

x
我的Matlab是7.0(R14)的,创建GUI后在Tools中却没有发现Toolbar Editor(如图),而在Matlab 7 Creating User Interface文档中却清楚有Toolbar Edito的详细介绍。 是我的Matlab版本的问题,还是那个地方没有设定好,还是需要独立安装Toolbar Editor? 谢谢!
window.JPG
回复
分享到:

使用道具 举报

 楼主| 发表于 2007-12-1 17:31 | 显示全部楼层

原来在7.5以后的版本才会有,之前的版本需要我们自己写code去创建Toolbar

从simwe的shunfly得到的信息:

Creating Graphical User Interfaces (GUIs), MATLAB Version 7.5 (R2007b)

New features and changes introduced in this version are:
      New Editors for Creating Custom Toolbars within GUIDE
      Coordinate Readouts in Layout Editor
      Documentation for Making GUIDE GUIs Interact
New Editors for Creating Custom Toolbars within GUIDE

In previous releases, adding toolbars to a GUI had to be done programmatically, by writing code for the uitoolbar, uipushtool and uitoggletool functions. GUIDE now has a Toolbar Editor and an associated Icon Editor that allow you to lay out a toolbar for a GUI and populate it with standard predefined tools for printing, saving, panning, zooming, annotating, etc. or with custom tools that you design yourself. You can draw or modify an icon for any tool on your toolbar with the Icon Editor or import one from an image file.
The Toolbar Editor

When you run GUIDE to create a new GUI or edit an existing one, click the Toolbar Editor icon in the Layout Editor Toolbar or choose Toolbar Editor from the Tools menu to open the Toolbar Editor. To add tools to the toolbar of your GUI, you drag standard or custom tool icons to the toolbar layout area at the top. You can modify a tool's properties using the Toolbar Editor and Property Inspector. You can also create and customize icons for tools using the new Icon Editor, described next. You control the behavior of a tool in your toolbar with its ClickedCallback (and for toggle tools, their OnCallback and OffCallback) in the GUI's associated M-file. If you use an existing tool, such as Print or Save, you do not need to modify its callback; it is predefined as %default.

      Functions Being Removed

[ 本帖最后由 alex_feng 于 2007-12-1 17:35 编辑 ]

评分

1

查看全部评分

您需要登录后才可以回帖 登录 | 我要加入

本版积分规则

QQ|小黑屋|Archiver|手机版|联系我们|声振论坛

GMT+8, 2024-11-26 10:17 , Processed in 0.068271 second(s), 25 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表