Highlights from
Simulink Support Package for Beagleboard Hardware (R2012a)

image thumbnail

Simulink Support Package for Beagleboard Hardware (R2012a)



23 Feb 2012 (Updated )

Simulink block library for creating standalone applications for the BeagleBoard

Editor's Notes:

This file was selected as MATLAB Central Pick of the Week

function blkStruct = slblocks
% SLBLOCKS Defines the block library for BeagleBoard

%   Copyright 2011 The MathWorks, Inc.

blkStruct.Name = sprintf('BeagleBoard');
blkStruct.OpenFcn = 'beagleboardlib';
blkStruct.MaskInitialization = '';
blkStruct.MaskDisplay = 'disp(''BeagleBoard'')';

Browser(1).Library = 'beagleboardlib';
Browser(1).Name    = sprintf('Target for Use with BeagleBoard Hardware');
Browser(1).IsFlat  = 0; % Is this library "flat" (i.e. no subsystems)?

blkStruct.Browser = Browser;  

% Define information for model updater
blkStruct.ModelUpdaterMethods.fhSeparatedChecks = @ecblksUpdateModel;

Contact us