Code covered by the BSD License  

Highlights from
MPC555 Motor Control Function Blockset

MPC555 Motor Control Function Blockset

by

 

20 Mar 2006 (Updated )

Additional I/O blocks for MPC555 target - specifically targetting TPU functionality

mpc555_mtrctrl_findtoolbox(filename)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% function file_location = mpc555_mtrctrl_findtoolbox(filename)
%
% This function just returns the full path of any file in the
% tlc_c subdirectory of the Embedded Target for Motorola MPC555
% Simulink toolbox.
%
% This is necessary so that the Motor Control Library can use the APIs
% defined therein
function file_location = mpc555_mtrctrl_findtoolbox(filename)

file_location = fullfile(matlabroot, ...
    'toolbox', ...
    'rtw',...
    'targets',...
    'mpc555dk',...
    'rt',...
    'blockset',...
    'tlc_c',...
    filename);
end

Contact us