FMIKit-Simulink | Import and export Functional Mock-up Units with Simulink | Mock library
kandi X-RAY | FMIKit-Simulink Summary
kandi X-RAY | FMIKit-Simulink Summary
Import and export Functional Mock-up Units with Simulink
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of FMIKit-Simulink
FMIKit-Simulink Key Features
FMIKit-Simulink Examples and Code Snippets
Community Discussions
Trending Discussions on FMIKit-Simulink
QUESTION
I am currently using FMIKit for Simulink found here https://github.com/CATIA-Systems/FMIKit-Simulink
From the documentation it works very well to query values of parameters within the FMU using FMIKit.getStartValue(FMUBLOCK, 'Variablename');
but only if you know the name and structure of the variable you are looking for.
I wanted to know if there is a way to extract the full list of variables in the FMU together with their values just before I start the simulation (for sim debugging purposes)?
...ANSWER
Answered 2020-Jan-10 at 10:20You can get the start values of the model variables by reading the model description of the FMU (e.g. the VanDerPol.fmu from the FMI 2.0 Test FMUs):
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install FMIKit-Simulink
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page