function blkStruct = slblocks
% SLBLOCKS Defines the block library for UAV Toolbox library

%   Copyright 2018-2019 The MathWorks, Inc.

    toolboxName = 'UAV Toolbox';
    libraryName = 'uavlib';

    blkStruct.Name    = toolboxName;
    blkStruct.OpenFcn = libraryName;
    blkStruct.MaskInitialization = '';
    blkStruct.MaskDisplay = ['disp(' toolboxName ')'];

    % Define the library list for the Simulink Library browser.
    % Return the name of the library model and the name for it
    Browser.Library = libraryName;
    Browser.Name    = toolboxName;
    Browser.IsFlat  = 0; % Is this library "flat" (i.e. no subsystems)?
    blkStruct.Browser = Browser;
