Your browser does not support JavaScript!
http://iet.metastore.ingenta.com
1887

Displaying an Object's State

Displaying an Object's State

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.

Being able to view the state of an object is vitally important to class development, client use, and code maintenance. Being forced to index and display individual values is too tedious and far too time-consuming. MATLAB provides a decent display mechanism for scalars, arrays, and structures. The paper states that MATLAB does not provide a good built-in display for objects, but it is now known how to tailor.

Chapter Contents:

  • 5.1 Displaying Objects
  • 5.1.1 What Should Be Displayed?
  • 5.1.2 Standard Structure Display
  • 5.1.3 Public Member Variable Display
  • 5.1.3.1 Implementing display.m, Attempt 1
  • 5.1.3.2 Implementing display.m, Attempt 2
  • 5.2 Developer View
  • 5.2.1 Implementing display.m with Developer View Options
  • 5.3 The Test Drive
  • 5.4 Summary
  • 5.5 Independent Investigations

Inspec keywords: object-oriented programming

Other keywords: object state; Matlab; structures; code maintenance; arrays; class development; client use; display mechanism; scalars

Subjects: Object-oriented programming

Preview this chapter:
Zoom in
Zoomout

Displaying an Object's State, Page 1 of 2

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

Related content

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