Code covered by the BSD License  

Highlights from
Example: Creating TimeSeries and TsArray Inputs for Simulink Bus Signal Input Data

5.0

5.0 | 2 ratings Rate this file 20 Downloads (last 30 days) File Size: 35.9 KB File ID: #15852
image thumbnail

Example: Creating TimeSeries and TsArray Inputs for Simulink Bus Signal Input Data

by

 

06 Aug 2007 (Updated )

Create timeseries inputs for Simulink model root inports that are bus signals.

| Watch this File

File Information
Description

This entry provides functions and examples allowing you to create Simulink.TsArray and Simulink.TimeSeries objects from a script or the MATLAB command line. A Simulink.TsArray object can be used as input data for a bus signal input in Simulink.

Note: These functions contain **UNDOCUMENTED** functionality that is subject to change in a future MathWorks release. The code has been tested in R2009b, but there is no guarantee of future compatibility.

Acknowledgements

This file inspired Create Bus Data For Models With Root Level Bus Inputs and Create Matrix From Model Data.

Required Products Simulink
MATLAB release MATLAB 7.4 (R2007a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (3)
13 Nov 2009 Stuart Bowman

Thank you! Works just fine in 2009a and should be a really big help to our team.

I echo the above comment from Mr. Henry. This capability should be included in future releases of Simulink.

05 Sep 2008 Joel Henry

This tool is an absolute necessity when working with stand-alone Simulink models that have bus inputs. I believe that it should be embedded in future releases of Simulink.

12 Sep 2007 Takashi Chikamasa

Great work! It's really useful.

Updates
01 Dec 2009

Updated copyright statements for BSD license.

02 Dec 2009

Updated copyright statements to BSD license. Published code in M-files instead of P-files.

22 Jan 2010

CreateTimeSeries.m
- Updated the code for computing the End Time (tEnd) for matrix data >= 2D.
- Updated copyright to 2010

Contact us