Building Controls Virtual Test Bed
slblocks.m File Reference

Go to the source code of this file.

Functions

Both simulink and
simulink_extras show up in the
Library Browser blkStruct 
Browser (1).Library
 
blkStruct Browser (2).Library
 
id $Revision: (id BCVTB)
 
id simulink_extras ()
 
The argument to be set as the
Mask Display for the subsystem
You may comment this line out
if no specific mask is desired 
sin ([0:2 *pi]))
 
Is this library flat (i.e.no subsystems)?%Browser(2).Library = Browser
 
Define information about
Signal Viewers 
Viewer (1).Library
 
Define information about
Signal Generators 
Generator (1).Library
 

Variables

function blkStruct
 
function described below The
Simulink Library Browser needs
to know which libraries in
your Blockset it should 
show
 
function described below The
Simulink Library Browser needs
to know which libraries in
your Blockset it should and
what names to give them To
provide this 
information
 
function described below The
Simulink Library Browser needs
to know which libraries in
your Blockset it should and
what names to give them To
provide this define an array
of Browser data structures
with one array element for
each library to display in the
Simulink Library Browser Each
array element has two 
fields
 
blkStruct OpenFcn = simulink_extras
 
blkStruct MaskDisplay = disp('Simulink\nExtras')
 
See also FINDBLIB
 
The argument to be set as the
Mask Display for the subsystem
You may comment this line out
if no specific mask is desired 
Example
 
Define the Browser structure array
 
clear Browser = 'Simulink'
 
blkStruct Viewer = Viewer
 
blkStruct Generator = Generator
 
Define information for model
updater blkStruct
ModelUpdaterMethods 
fhDetermineBrokenLinks = @UpdateSimulinkBrokenLinksMappingHelper
 
blkStruct ModelUpdaterMethods fhUpdateModel = @UpdateSimulinkBlocksHelper
 

Function Documentation

id $Revision: ( id  BCVTB)
virtual
Both simulink and simulink_extras show up in the Library Browser blkStruct Browser ( )
blkStruct Browser ( )
Is this library flat ( i.e.no  subsystems) = Browser
Define information about Signal Generators Generator ( )
id simulink_extras ( )
virtual
The argument to be set as the Mask Display for the subsystem You may comment this line out if no specific mask is desired sin ( )
Define information about Signal Viewers Viewer ( )

Variable Documentation

Define the Browser structure array

Definition at line 74 of file slblocks.m.

function blkStruct
Initial value:
= slblocks
%SLBLOCKS Defines the block library for a specific Toolbox or Blockset.
% SLBLOCKS returns information about a Blockset to Simulink. The
% information returned is in the form of a BlocksetStruct with the
% following fields:
%
% Name Name of the Blockset in the Simulink block library
% Blocksets & Toolboxes subsystem.
% OpenFcn MATLAB expression (function) to call when you
% double-click on the block in the Blocksets & Toolboxes
% subsystem.
% MaskDisplay Optional field that specifies the Mask Display commands
% to use for the block in the Blocksets & Toolboxes
% subsystem.
% Browser Array of Simulink Library Browser structures
clear Browser
Definition: slblocks.m:87
function described below The Simulink Library Browser needs to know which libraries in your Blockset it should and what names to give them To provide this information
Definition: slblocks.m:1
function described below The Simulink Library Browser needs to know which libraries in your Blockset it should and what names to give them To provide this define an array of Browser data structures with one array element for each library to display in the Simulink Library Browser Each array element has two fields
Definition: slblocks.m:1
blkStruct OpenFcn
Definition: slblocks.m:37
blkStruct MaskDisplay
Definition: slblocks.m:38

Definition at line 1 of file slblocks.m.

Browser = 'Simulink'

Definition at line 87 of file slblocks.m.

The argument to be set as the Mask Display for the subsystem You may comment this line out if no specific mask is desired Example

Definition at line 68 of file slblocks.m.

Define information for model updater blkStruct ModelUpdaterMethods fhDetermineBrokenLinks = @UpdateSimulinkBrokenLinksMappingHelper

Definition at line 108 of file slblocks.m.

blkStruct ModelUpdaterMethods fhUpdateModel = @UpdateSimulinkBlocksHelper

Definition at line 109 of file slblocks.m.

function described below The Simulink Library Browser needs to know which libraries in your Blockset it should and what names to give them To provide this define an array of Browser data structures with one array element for each library to display in the Simulink Library Browser Each array element has two fields

Definition at line 1 of file slblocks.m.

See also FINDBLIB

Definition at line 48 of file slblocks.m.

clear Generator = Generator

Definition at line 104 of file slblocks.m.

function described below The Simulink Library Browser needs to know which libraries in your Blockset it should and what names to give them To provide this information

Definition at line 1 of file slblocks.m.

No display for Simulink Extras blkStruct MaskDisplay = disp('Simulink\nExtras')

Definition at line 38 of file slblocks.m.

Definition at line 37 of file slblocks.m.

function described below The Simulink Library Browser needs to know which libraries in your Blockset it should show

Definition at line 1 of file slblocks.m.

clear Viewer = Viewer

Definition at line 95 of file slblocks.m.