Kann ich veränderbare Parameter eines protected models durch ein m-File bearbeiten?

1 次查看(过去 30 天)
Hallo zusammen,
ich habe ein protected Model erstellt, um dieses mit einer dritten Instanz zu teilen. Das Model beinhaltet veränderbare Parameter, welche ich über die Block Parameter auch anpassen kann. Ist es möglich, dass ich diese Parameter auch durch Code in einem m-File bearbeiten kann?
Danke im Voraus.

回答(1 个)

Sathvik
Sathvik 2023-12-12
Hi
From a rough translation, I understand that you want to create a protected model which allows the end user to edit the parameters through code.
You can create a protected model with tunable parameters for the end user. These parameters can be edited programmatically as well.
You can refer to the following MATLAB Answer which refers to a full tutorial for creating a Protected Model with Mask and tunable model arguments.
You can also refer to the following documentation to set block parameter values programmatically.
Hope this helps!

产品


版本

R2022b

Community Treasure Hunt

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

Start Hunting!