Brief procedure for creating secondary blocks is given below
· Create new block with Block Editor in current project’s ‘/blocks’ directory. Select ‘Secondary Block’ under Basic options of primary configuration window.
· Configure rest of the block parameters as descried in Block Configuration, Parameter Configuration and Initial Conditions Configuration and close the window.
· Go to current project in Model Editor. Import the block created above by right clicking on Block Definitions under current project from left tree window.
· Create required model workspace files in the block directory. Add ‘Signal BlkDef’ blocks to represent block ports (these will be imported later in Block Editor).
· Now load current block in Block Editor again and go to schematics tab . Workspace files that are created in Model Editor under current block will automatically appear in left schematics window.
· Select one of the workspace files as root file by right clicking on the file and selecting ‘Set As Root File’.
· Over ride block parameters as described here.
· Configure block ports and any other relevant block configuration parameters.