http://iet.metastore.ingenta.com
1887

Class Wizard

Class Wizard

For access to this article, please select a purchase option:

Buy chapter PDF
£10.00
(plus tax if applicable)
Buy Knowledge Pack
10 chapters for £75.00
(plus taxes if applicable)

IET members benefit from discounts to all IET publications and free access to E&T Magazine. If you are an IET member, log in to your account and the discounts will automatically be applied.

Learn more about IET membership 

Recommend Title Publication to library

You must fill out fields marked with: *

Librarian details
Name:*
Email:*
Your details
Name:*
Email:*
Department:*
Why are you recommending this title?
Select reason:
 
 
 
 
 
A Guide to MATLAB® Object-Oriented Programming — Recommend this title to your library

Thank you

Your recommendation has been sent to your librarian.

This paper introduces an automated code-generation tool that simplifies group-of-eight development for MATLAB classes. Using the tool, you can define a collection of public and private member variables along with an associated collection of public and private member functions. The tool will even give you a head start on class tailoring by generating a function template for public functions and helpers. The template includes the function definition along with reasonably complete header comments. This is convenient because it gives variable names and comment headers a consistent form with shared comments across all members of the class. The automation tool is called class wizard.m. The Class Wizard tool uses a graphical interface entirely developed using MATLAB's standard development tools. Dialog screens and callback functions were developed using Guide* and MATLAB 7.0. In addition, all of the code in class_wizard.m is native MATLAB.

Chapter Contents:

  • 17.1 File Dependencies
  • 17.2 Data-Entry Dialog Boxes
  • 17.2.1 Main Class Wizard Dialog
  • 17.2.1.1 Header Information Dialog
  • 17.2.1.2 Parents ... Dialog
  • 17.2.1.3 Private Variable ... Dialog
  • 17.2.1.4 Concealed Variables ... Dialog
  • 17.2.1.5 Public Variables ... Dialog
  • 17.2.1.6 Constructors ... Dialog
  • 17.2.1.7 More ... Dialog
  • 17.2.1.8 Static Variables ... Dialog
  • 17.2.1.9 Private Functions ... Dialog
  • 17.2.1.10 Public Functions ... Dialog
  • 17.2.1.11 File Menu
  • 17.2.1.12 Data Menu
  • 17.2.1.13 Build Class Files Button
  • 17.3 Summary
  • 17.4 Independent Investigations

Inspec keywords: object-oriented programming; graphical user interfaces

Other keywords: function template; class wizard.m function; MATLAB 7.0; Class Wizard tool; private member variable; callback function; public member variable; Matlab classes; function definition; graphical interface; private member function; header comment; dialog screen; Guide; code-generation tool; public member function

Subjects: Object-oriented programming; Graphical user interfaces

Preview this chapter:
Zoom in
Zoomout

Class Wizard, Page 1 of 2

| /docserver/preview/fulltext/books/pc/sbpc001e/SBPC001E_ch17-1.gif /docserver/preview/fulltext/books/pc/sbpc001e/SBPC001E_ch17-2.gif

Related content

content/books/10.1049/sbpc001e_ch17
pub_keyword,iet_inspecKeyword,pub_concept
6
6
Loading
This is a required field
Please enter a valid email address