MATLAB R2023a: Model missing parameters after calling open_system

I am currently in the midst of upgrading a matlb project to support R2023a which generates/displays a simulink model and am noticing that, after I have saved and reopened the model that I am missing several of the parameters which I have set using set_param. Is this a known issue with R2023a, or has something changed with open_system/save_system that I am unaware of (as the same pairing works correctly in all previous releases of MATLAB that I have tested it with).

3 件のコメント

Daniel
Daniel 2023 年 4 月 3 日
Do you have examples of the parameters that are missing, and (if applicable) what the associated blocks are? It would be easier to check out compatibility issues with a little more detail or a failing example.
Brad
Brad 2023 年 4 月 3 日
Hi Daniel,
The parameters in question are all CustomProperties, which don't appear to be loading after calling open_system. Unfortunately, I don't have a specific block for you.
Daniel
Daniel 2023 年 4 月 3 日
There's not much anyone can do without detail. If there's a file or set of files that you can share which replicates the issue, that would be a good starting point. It's also a lot easier to guarantee that smaller examples are free of sensitive information, if that's a concern.

サインインしてコメントする。

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeCreate Large-Scale Model Components についてさらに検索

製品

リリース

R2023a

質問済み:

2023 年 4 月 3 日

コメント済み:

2023 年 4 月 3 日

Community Treasure Hunt

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

Start Hunting!

Translated by