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_mask_error(block, message, heading)
function mpc555_mtrctrl_mask_error(block, message, heading)

% Throw an error dialog message box
h = errordlg(message, heading);
% Hack the message into the last error field too
lasterr(message);
% Wait for the user to read
uiwait(h);
% Restore previously saved values
mpc555_mtrctrl_mask_copy_values(block, 'restore');

end

Contact us