VeriStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Import parameter from simulink models

Solved!
Go to solution

Hi all, 

 

after a toolchain upgrade I started using VS2024Q3 with Matlab/Simulink 2022b (and model generation support) to build my models (previously I used Matlab/Simulink 2016 with veristand model framework). I noticed that I'm no longer able to modify  constants and gains except for those whose values are defined in the Matlab workspace. Is it still possible to import and modify hardcoded gains and paramentes from Veristand? Has anyone else encountered the same issue?

0 Kudos
Message 1 of 3
(125 Views)
Solution
Accepted by topic author Anto_F91

According to How VeriStand Imports Models from the Model Generation Support MATLAB Add-on

Parameter Importing

Simulink variables that are defined in the model workspace, Base Workspace, or in a data dictionary will be available as parameters in VeriStand if they meet the following requirements.
  • They are of a supported datatype.
  • They are referenced by at least one Simulink block or Model Mask.

 

I am not sure about the Gain block but the variables in the model workspace work from my experience.

-------------------------------------------------------
Applications Engineer | TME Systems
https://tmesystems.net/
0 Kudos
Message 2 of 3
(115 Views)

Thanks, I had already seen that part of the manual, but after reading more carefully, I think that the feature I'm referring to is no longer supported.

0 Kudos
Message 3 of 3
(106 Views)