User`s guide
Star tFcn
Purpose Specify M-file executed when start event occurs
Description The StartFcn property specifies the M-file function to execute when a
start event occurs. A start event occurs imm ediately after you issue
the
start command.
The
StartFcn callback ex ecutes synchronously. The toolbox does not
set the object’s
Running property to 'on' until the callback function
finishes executing. If the callback function e nco u nte rs an error, the
object never starts running.
Start event information is s tored in the
EventLog property.
Characteristics
Access R ead/write
Data type
String, function handle, or cell array
Values
The default value is a n empty matrix (
[]).
See Also Properties
EventLog, Running
14-39