フィルターのクリア

Import Time series objects into sldd

5 ビュー (過去 30 日間)
Rakesh Chandrashekar
Rakesh Chandrashekar 2017 年 7 月 20 日
回答済み: Donn Shull 2017 年 8 月 6 日
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 日
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.

カテゴリ

Help Center および File ExchangeSimulink についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by