Example: Creating TimeSeries and TsArray Inputs for Simulink Bus Signal Input Data
by Robyn Jackey
06 Aug 2007
(Updated 22 Jan 2010)
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
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Comments and Ratings (3) |
| 13 Nov 2009 |
Stuart Bowman
|
|
|
| 05 Sep 2008 |
Joel Henry
|
|
|
| 12 Sep 2007 |
Takashi Chikamasa
|
|
|
| Updates |
| 17 Sep 2007 |
Updated to fix a speed issue with larger datasets. |
| 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