Code covered by the BSD License  

Highlights from
QCAT

image thumbnail
from QCAT by Ola Harkegard
Quadratic Programming Control Allocation Toolbox

Description of slblocks

slblocks

PURPOSE ^

SLBLOCKS Defines the block library for a specific Toolbox or Blockset.

SYNOPSIS ^

function blkStruct = slblocks

DESCRIPTION ^

SLBLOCKS Defines the block library for a specific Toolbox or Blockset.

CROSS-REFERENCE INFORMATION ^

This function calls:
This function is called by:

SOURCE CODE ^

0001 function blkStruct = slblocks
0002 %SLBLOCKS Defines the block library for a specific Toolbox or Blockset.
0003 
0004 %   Copyright 1986-2002 The MathWorks, Inc.
0005 % $Revision: 1.13 $
0006 
0007 % Name of the subsystem which will show up in the SIMULINK Blocksets
0008 % and Toolboxes subsystem.
0009 % Example:  blkStruct.Name = 'DSP Blockset';
0010 blkStruct.Name = ['Control' sprintf('\n') 'Allocation'];
0011 
0012 % The function that will be called when the user double-clicks on
0013 % this icon.
0014 % Example:  blkStruct.OpenFcn = 'dsplib';
0015 blkStruct.OpenFcn = 'qcatlib';%.mdl file
0016 
0017 % The argument to be set as the Mask Display for the subsystem.  You
0018 % may comment this line out if no specific mask is desired.
0019 % Example:  blkStruct.MaskDisplay = 'plot([0:2*pi],sin([0:2*pi]));';
0020 blkStruct.MaskDisplay = 'disp(''QCAT'')';
0021 
0022 % Define the library list for the Simulink Library browser.
0023 % Return the name of the library model and the name for it
0024 Browser(1).Library = 'qcatlib';
0025 Browser(1).Name    = 'QP Control Allocation Toolbox';
0026 Browser(1).IsFlat  = 1;
0027 
0028 blkStruct.Browser = Browser;

Generated on Wed 25-Aug-2004 14:38:35 by m2html © 2003

Contact us at files@mathworks.com