Code covered by the BSD License  

Highlights from
simlog

Be the first to rate this file! 15 Downloads (last 30 days) File Size: 5.37 KB File ID: #30019
image thumbnail

simlog

by

 

13 Jan 2011 (Updated )

GUI to enable easy logging of multiple signals in Simulink. Log a complete subsystem with one click.

Editor's Notes:

This file was selected as MATLAB Central Pick of the Week

| Watch this File

File Information
Description

Tired of adding "To Workspace" or Display blocks when debugging your models?
In this case, SIMLOG is for you. Select which signals to log, either individually or complete subsystems. After execution of the model, signals can quickly be inspected by selecting the signal in the model and click the plot button.

Enable/disable logging of signals in the current subsystem + plot logged
signals.
 
  1. Select signals, 1 or more, in model. (If subsystems or blocks are
      selected, they will not be logged, use subsystem logging instead).
  2. Click the desired button among the signal buttons (add/remove/plot)
 
Enable/disable logging for entire subsystems
 
  1. Select 1 or more subsystem
  2. Click the desired button among the subsystem buttons (add/remove)
 
  A number of checkboxes allows for inclusion/exclusion of certain block
  types.
 
After execution of the Simulink model the logged data can be plotted by
selecting a logged signal in the model and clicking the plot button.
Data can also be exported to a variable in the WS for analysis with the
export button.
 
tstool starts the simulink built-in Time Series Tools for analysing the
logged data.

Very quickly tested in Matlab 2011a prerelease to verify functionality.

Required Products Simulink
MATLAB release MATLAB 7.3 (R2006b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Updates
17 Jan 2011

Include note on Merge blocks in .m file

07 Feb 2011

Fixed error when trying to export signals with no logged data

Contact us