Skip to content

Instantly share code, notes, and snippets.

classdef PropertyDemo < symphonyui.core.Protocol
properties
double = pi % Standard MatLab type
integer = int32(23) % 32-bit integer value
interval = int32(2) % 32-bit integer value with an interval domain
enumerated = int32(-1) % 32-bit integer value with an enumerated domain
logical = true % Boolean value that takes either true or false
doubleMatrix = [1, 2] % Matrix of standard MatLab type
string = 'a sample string' % Row vector of characters