How to access Data dictionary data in matlab function block simulink

I am having problems with using data from data dictionary in a matlab function block. If i have some constants store in the data dictionary that i want to use inside a matlab function block, how do i do that?

답변 (1개)

Fangjun Jiang
Fangjun Jiang 2018년 11월 1일

2 개 추천

Add a "data" to the MATLAB Function block and specify its scope as "Parameter" (rather than input or output). Have "data" defined in your Simulink data dictionary.

카테고리

도움말 센터 및 File Exchange에서 Manage Design Data에 대해 자세히 알아보기

제품

릴리스

R2018a

질문:

2018년 11월 1일

답변:

2018년 11월 1일

Community Treasure Hunt

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

Start Hunting!

Translated by