Data Dictionary parameters not available in inline code generated for NI Veristand

4 次查看(过去 30 天)
I have simple simulink model with 2 parameteres: GAIN and OFFSET and I generate code and build using System target file NIVeristand.tlc (Matlab2017a+NI Veristand2018).
If GAIN and OFFSET are in the base workspace, I could set Default Parameter Behavior in Inlined and I could configure parameters to be external accessible (i.e. only OFFSET) and everything works properly in build process.
If GAIN and OFFSET are in a Data Dictionary file, Configure parameter is disabled so I'm not able to select external accessibile parameters:
Build process with this configuration give no parameters accessible from external (veristand interface).
This behavior doesn't change also changing storage class in Model Explorer for Data Dictionary or other options.
Any suggestion to solve this issue?

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Simulink Coder 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by