Import Time series objects into sldd

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).

답변 (1개)

Donn Shull
Donn Shull 2017년 8월 6일

0 개 추천

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.

카테고리

도움말 센터File Exchange에서 Manage Design Data에 대해 자세히 알아보기

제품

질문:

2017년 7월 20일

답변:

2017년 8월 6일

Community Treasure Hunt

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

Start Hunting!

Translated by