Sie verfolgen jetzt diese Einreichung
- Aktualisierungen können Sie in Ihrem Feed verfolgter Inhalte sehen.
- Je nach Ihren Kommunikationseinstellungen können Sie auch E-Mails erhalten.
CreateMatrixFromModelData
Mike Anthony
Mark McBroom
Copyright 2010 The MathWorks, Inc.
This is a recursive function takes any of the following data objects commonly associated with data logging in Simulink:
Simulink.ModelDataLogs
Simulink.SubsysDataLogs
Simulink.ScopeDataLogs
Simulink.TsArray
Simulink Timeseries
This function outputs an nxm matrix of type double where:
n = length of the timeseries data
m = number of timeseries in the input (if the input is a
Timeseries, m = 1).
output_matrix = CreateMatrixFromModelData(inputTsArray)
This function is particularly useful in conjunction with bus signals, signal logging, and the Limit Check element in SystemTest. When signal logging is enabled for a bus signal in Simulink, the data is saved as a Simulink.TsArray. As of R2009b, the Limit Check Element in SystemTest only supports native Simulink data types. The matrix output of this function is fully compatible with the Limit Check element. As such, this provides a quick way to compare bus signals in the limit check element.
This function works well along with the functions in the acknowledgments section.
Zitieren als
Mike Anthony (2026). CreateMatrixFromModelData (https://de.mathworks.com/matlabcentral/fileexchange/26555-creatematrixfrommodeldata), MATLAB Central File Exchange. Abgerufen .
Quellenangaben
Inspiriert von: Create Bus Data for Models with Root-Level Bus Inputs
Allgemeine Informationen
- Version 1.1.0.1 (1,79 KB)
Kompatibilität der MATLAB-Version
- Kompatibel mit allen Versionen
Plattform-Kompatibilität
- Windows
- macOS
- Linux
| Version | Veröffentlicht | Versionshinweise | Action |
|---|---|---|---|
| 1.1.0.1 | Updated license |
||
| 1.1.0.0 | Change of file and function name and corresponding comments. |
||
| 1.0.0.0 |
