필터 지우기
필터 지우기

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

조회 수: 1 (최근 30일)
André
André 2023년 11월 2일
답변: Sathvik 2023년 12월 12일
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!