matlab function simulink parameters

Hey I am currently trying to implement a matlab function in my simulink block with a lot of parameters that are in my workspace. What is the best way to get those constants into the function for now I am using just constant blocks as input for the parameters but this doesn't seem to be the best workaround.
Regards, Max

답변 (1개)

Raghunandan V
Raghunandan V 2019년 6월 7일

0 개 추천

Hi,
You can name the same name in the constant block with the same name as that of workspace.
For example:
If you have a constant block of value 2. Replace 2 by the name in matlab workspace.

카테고리

도움말 센터File Exchange에서 Simulink Functions에 대해 자세히 알아보기

제품

질문:

2019년 6월 6일

답변:

2019년 6월 7일

Community Treasure Hunt

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

Start Hunting!

Translated by