Code covered by the BSD License  

Highlights from
Minor Time Step Logging

image thumbnail

Minor Time Step Logging


Guy Rouleau (view profile)


16 Jan 2009 (Updated )

Demonstration showing how to log data computed by the Simulink® solver at minor time steps.

Editor's Notes:

This file was selected as MATLAB Central Pick of the Week

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