Code covered by the BSD License  

Highlights from
APM2 Simulink Blockset

image thumbnail

APM2 Simulink Blockset

by

Robert Hartley (view profile)

  • 1 file
  • 150 downloads
  • 4.55556

 

Simulink blockset for use with the ArduPilot Mega 2.0 hardware. Includes blocks to read external rad

sl_customization(cm)
function sl_customization(cm)
% SL_CUSTOMIZATION for Arduino PIL connectivity config

% Copyright 2008-2010 The MathWorks, Inc.

cm.registerTargetInfo(@loc_createSerialConfig);

% local function
function config = loc_createSerialConfig

config = rtw.connectivity.ConfigRegistry;
config.ConfigName = 'Arduino connectivity config using serial';
config.ConfigClass = 'arduino.ConnectivityConfig';

% matching system target file
config.SystemTargetFile = {'arduino.tlc'};

% match any template makefile
config.TemplateMakefile = {};

% match any hardware implementation
config.TargetHWDeviceType = {};

Contact us