フィルターのクリア

How to make the CAN pack/unpack model reflect the change when a new database file/message is selected programatically?

3 ビュー (過去 30 日間)
Hello, Once I load a new database file/ select a new message for the CAN Pack/Unpack block, I do not see the changes being reflected in the model (Change in input ports etc). This is only observed when the 'Apply' in the dialog box is pressed. Is there a way to make the model reflect the changes programtically? Matlab Version : 2016b.

回答 (1 件)

Sachin Kumar
Sachin Kumar 2017 年 3 月 7 日
  2 件のコメント
Adithya Ravi
Adithya Ravi 2017 年 3 月 7 日
編集済み: Adithya Ravi 2017 年 3 月 7 日
Thanks for the links Sachin. However I am using the Java code for the button press as a temporary workaround. Was wondering if there is an official fix by Mathworks that has been released that enables the user to update the model programatically without the need to open and close the dialog box.
Sachin Kumar
Sachin Kumar 2017 年 3 月 9 日
Looks like there is no official fix as of now.

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

カテゴリ

Help Center および File ExchangeProgrammatic Model Editing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by