- Check if your parameter is present in the modelDescription.xml file. This can be found inside the "_fmu" folder created.
- Right click on your FMU block and navigate to Mask > Mask Parameters. In the Parameters section, you can find the "refrigeration_Cycle_4WV_TLK_detailed_newBus" struct of your FMU model. Ensure that it has the same parameters as mentioned in the modelDescription.xml file. In case of mismatch (missing/extra parameters) , you can modify the struct in the dialog box itself.
- Update your model. Once the parameter struct is ensured to be the same, the type mismatch error should get resolved.
Why I am getting this error message? Please HELP. Thanks
5 views (last 30 days)
Show older comments
Hi Everyone. I am facing a problem while connecting the FMU to the buses. I have one FMU which expects 9 inputs and I did clarify the same while using bus creator. But in the end i am getting this error which i am trying to solve for couple of hours but didn't get any solution. So if any knows about the same please help me. I would give details as well if you need any other information.
0 Comments
Accepted Answer
Aiswarya
on 1 Mar 2024
Hi,
I understand that you are getting a value type mismatch error for a parameter, which states that it does not match the structure defined in modelDescription.xml file. This may happen if you have changed your parameters of FMU (added new parameters to the struct "refrigeration_Cycle_4WV_TLK_detailed_newBus" or changed the name of parameter) and regenerated the FMU. You may refer to the following steps to resolve the issue:
Hope this helps!
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!