Export Data Dictionary in previous version programmatically

14 ビュー (過去 30 日間)
Pierre Nowodzienski
Pierre Nowodzienski 2020 年 1 月 10 日
回答済み: Nicolas Schoonbroodt 2020 年 4 月 30 日
I would like to automate the MATLAB Project export to previous version.
In order to do so, I would like to extend the workaround provided here with data dictionaries as well. But I didn't find the function nor method to do it programmatically.
Thank you for any help.

回答 (1 件)

Nicolas Schoonbroodt
Nicolas Schoonbroodt 2020 年 4 月 30 日
Hi Pierre,
I don't know if you have found your answer since January, but I did found your question while searching myself for it. Digging a little bit deeper, I've found the method exportToVersion from the Simulink.data.Dictionary object.
There is a very short help page (help Simulink.data.Dictionary.exportToVersion), but basically this seems to work:
dd = Simulink.data.Dictionary.open("your_dic.sldd");
exportToVersion(dd, "some_folder/", "R2019a");
I hope we will have the opportunity to meet again soon.

カテゴリ

Help Center および File ExchangeManage Design Data についてさらに検索

製品


リリース

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by