Code covered by the BSD License  

Highlights from
Minor Time Step Logging

image thumbnail
from Minor Time Step Logging by Guy Rouleau
Demonstration showing how to log data computed by the Simulink® solver at minor time steps.

slblocks
function blkStruct = slblocks
%
% This file adds the Minor time step block to the Simulink library
%
% Guy Rouleau
% Copyright 2009, The MathWorks, Inc.

blkStruct.Name = ['Minor Time Step Logging'];

% The function that will be called when the user double-clicks on
% this icon.
blkStruct.OpenFcn = 'MinorStepLib';

% Define the Browser structure array, 
blkStruct.Browser(1).Library = 'MinorStepLib';
blkStruct.Browser(1).Name    = 'Minor Time Step Logging';


% End of slblocks


Contact us at files@mathworks.com