IRootLab
An Open-Source MATLAB toolbox for vibrational biospectroscopy

Detailed Description

Generates code containing values of certain object properties.

Property names cna be specified with dots. In this case, properties will be accessed within objects that are properties themselves.

Definition in file code_props.m.

Go to the source code of this file.

Functions

function code_props (in obj, in props, in flag_alt)
 

Function Documentation

function code_props ( in  obj,
in  props,
in  flag_alt 
)
Parameters
objObject
propsCell of property names with optional comments
  • Format 1: {'property name', 'comment; ...}
  • Format 2: {'property name', ...}
flag_alt=0Alternative format to just paste on the properties section of code file