How do I troubleshoot issues with importing FMUs in Simulink?

47 vues (au cours des 30 derniers jours)
Saba Hajhassan
Saba Hajhassan le 2 Mai 2023
Commenté : Ayush le 16 Août 2023
I have to run a model which includes a FMU block and I keep recveing the following Error when I run the simulink model.
--------------------------------------------------
  • Error parsing FMU '/Users/sabahajhassan/Downloads/Austausch_ACS/FMU_out_P_02.fmu'.
  • Caused by: Error in supplied FMU: Dynamic library file ('FMU_out_02.dylib') does not exist in FMU '/Users/sabahajhassan/Downloads/Austausch_ACS/FMU_out_P_02.fmu'. For more information, see the FMU troubleshooting documentation.
--------------------------------------------------
Does anyone know how I can troubleshoot this error regarding importing FMUs in Simulink?
I tried to solve the error by using the FMU Compliance checker. But I have not found the macOS version of this tool in Internet, I also checked this link:
I have a macbook and I run Simulink on MacOS.
  7 commentaires
Saba Hajhassan
Saba Hajhassan le 18 Mai 2023
Modifié(e) : Saba Hajhassan le 18 Mai 2023
Hi Vedant,
thanks for your response. Yes, I checked and there is no .dylib file after unzipping. Do you have any idea how i can get these dynamic library on macOS?
Morevover, I recevied the FMU files from someone else who designed this FMU, he works on a windows OS.
Best regards
Ayush
Ayush le 16 Août 2023
You can re-generate the binaries since you mentioned in windows it's working fine but in MacOS it's not due to change in platform.
Kindly take a look at the following answer to know more about it:
Hope it helps!

Connectez-vous pour commenter.

Réponses (0)

Produits


Version

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by