How to access Data dictionary data in matlab function block simulink

15 visualizaciones (últimos 30 días)
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?

Respuestas (1)

Fangjun Jiang
Fangjun Jiang el 1 de Nov. de 2018
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.

Categorías

Más información sobre Manage Design Data en Help Center y File Exchange.

Productos


Versión

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by