Simplify Using get, set, fieldnames, and struct

Access Full Text

Simplify Using get, set, fieldnames, and struct

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.

Author(s): Andy H. Register
Source: A Guide to MATLAB® Object-Oriented Programming,2007
Publication date January 2007

The paper develops the implementations for a small but very important collection of member functions. In their order of development, the functions belonging to this so-called group-of-eight are as follows: default constructor (e.g., cShape); subsref; subsasgn; display; fieldnames; struct; get; and set.

Chapter Contents:

  • 9.1 Improving subsref.m
  • 9.2 Improving subsasgn.m
  • 9.3 Improving display.m
  • 9.4 Test Drive
  • 9.5 Summary
  • 9.6 Independent Investigations

Inspec keywords: object-oriented programming

Other keywords: struct function; default constructor function; subsref function; get function; set function; display function; cShape function; Matlab; group-of-eight function; member function; subsasgn function; fieldnames function

Subjects: Object-oriented programming

Preview this chapter:
Zoom in
Zoomout

Simplify Using get, set, fieldnames, and struct, Page 1 of 2

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

Related content

content/books/10.1049/sbpc001e_ch9
pub_keyword,iet_inspecKeyword,pub_concept
6
6
Loading