How do I troubleshoot issues with importing FMUs in Simulink?

46 visualizzazioni (ultimi 30 giorni)
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 Commenti
Saba Hajhassan
Saba Hajhassan il 18 Mag 2023
Modificato: Saba Hajhassan il 18 Mag 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 il 16 Ago 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!

Accedi per commentare.

Risposte (0)

Prodotti


Release

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by