Create Block Callbacks
You can create block callbacks interactively or programmatically.
To create block callbacks interactively:
- Right-click a block, and in the context menu, select Properties.
- In the Block Properties dialog box, select the Callback tab.
- Create the callback code.
To create a block callback programmatically, use the set_param command to assign MATLAB® code to the block callback parameter.
ex:
openFcn: -> m file to run
No comments:
Post a Comment