Borrar filtros
Borrar filtros

Import Time series objects into sldd

5 visualizaciones (últimos 30 días)
Rakesh Chandrashekar
Rakesh Chandrashekar el 20 de Jul. de 2017
Respondida: Donn Shull el 6 de Ag. de 2017
Hi, I am having vehicle data imported as time series objects into Base workspace, I would like to know how can we add those objects to SLDD (2016b Matlab).

Respuestas (1)

Donn Shull
Donn Shull el 6 de Ag. de 2017
Beginning with R2016b Simulink Data Dictionaries can store time series objects in the 'Other Data' dictionary section. For Example:
dicth = Simulink.data.dictionary.create('MyDictionary.sldd');
otherh = dicth.getSection('Other');
myTimeSeries = timeseries;
otherh.addEntry('myTimeSeries', myTimeSeries);
open('MyDictionary.sldd');
Note: this does not work in previous version of Simulink or in other sections of a Simulink Data Dictionary.

Categorías

Más información sobre Simulink en Help Center y File Exchange.

Productos

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by