(Ebook) Engineering - Building Gui With Matlab

(Ebook) Engineering - Building Gui With Matlab - MATLAB The...

Info iconThis preview shows pages 1–5. Sign up to view the full content.

View Full Document Right Arrow Icon
M ATLAB The Language of Technical Computing Computation Visualization Programming Building GUIs with M ATLAB Version 5 ®
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
How to Contact The MathWorks: 508-647-7000 Phone 508-647-7001 Fax The MathWorks, Inc. Mail 24 Prime Park Way Natick, MA 01760-1500 http://www.mathworks.com Web ftp.mathworks.com Anonymous FTP server comp.soft-sys.matlab Newsgroup support@mathworks.com Technical support suggest@mathworks.com Product enhancement suggestions bugs@mathworks.com Bug reports doc@mathworks.com Documentation error reports subscribe@mathworks.com Subscribing user registration service@mathworks.com Order status, license renewals, passcodes info@mathworks.com Sales, pricing, and general information Building GUIs with MATLAB (December 1996) COPYRIGHT 1984 - 1996 by The MathWorks, Inc. All Rights Reserved. The software described in this document is furnished under a license agreement. The software may be used or copied only under the terms of the license agreement. No part of this manual may be photocopied or repro- duced in any form without prior written consent from The MathWorks, Inc . U.S. GOVERNMENT: If Licensee is acquiring the software on behalf of any unit or agency of the U. S. Government, the following shall apply: (a) for units of the Department of Defense: RESTRICTED RIGHTS LEGEND: Use, duplication, or disclosure by the Government is subject to restric- tions as set forth in subparagraph (c)(1)(ii) of the Rights in Technical Data and Computer Software Clause at DFARS 252.227-7013. (b) for any other unit or agency: NOTICE - Notwithstanding any other lease or license agreement that may pertain to, or accompany the delivery of, the computer software and accompanying documentation, the rights of the Government regarding its use, reproduction and disclosure are as set forth in Clause 52.227-19(c)(2) of the FAR. Contractor/manufacturer is The MathWorks Inc., 24 Prime Park Way, Natick, MA 01760-1500. M ATLAB , S IMULINK, and Handle Graphics are registered trademarks and Real-Time Workshop is a trade- mark of The MathWorks, Inc. Other product or brand names are trademarks or registered trademarks of their respective holders. Printing History: December 1996 First printing for MATLAB 5 @
Background image of page 2
i Contents 1 Introduction Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2 How to Use This Book . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2 The Big Picture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-3 A Quick Start with Guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-4 Modifying Properties with the Property Editor . . . . . . . . . . . . . . 1-4 Adding Buttons with the Control Panel . . . . . . . . . . . . . . . . . . . . 1-6 Setting Callbacks with the Callback Editor . . . . . . . . . . . . . . . . . 1-7 Activating the Figure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-8 The Bottom Line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-9 2 GUI Design Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-2 Design Principles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-3 Simplicity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-4 Consistency . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-7 Familiarity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-7 The Dynamic Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-9 Keep It Simple . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-11 Design Process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-12 A Complete Example: Precipitation Files . . . . . . . . . . . . . . . . . 2-15
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
ii Contents 3 GUI Implementation Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-2 Handle Graphics and the Property Editor . . . . . . . . . . . . . . .
Background image of page 4
Image of page 5
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 88

(Ebook) Engineering - Building Gui With Matlab - MATLAB The...

This preview shows document pages 1 - 5. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online