Clear Filters
Clear Filters

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

1 view (last 30 days)
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.

Answers (1)

Sathvik
Sathvik on 12 Dec 2023
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!

Products


Release

R2022b

Community Treasure Hunt

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

Start Hunting!