Accelerating the pace of engineering and science

Developing Classes Overview

Stuart McGarrity, MathWorks

Design classes by defining properties, methods, and events in a class definition file.

Note: The property set method dB_noise in the class AWGN.m (@4:00) is written incorrectly and does not need to return obj as it is a handle class. The code still runs correctly but a code analyzer warning is now generated. See documention for more information

Product Focus