How do I troubleshoot issues with importing FMUs in Simulink?

27 visualizaciones (últimos 30 días)
Saba Hajhassan
Saba Hajhassan el 2 de Mayo de 2023
Comentada: Ayush el 16 de Ag. de 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 comentarios
Saba Hajhassan
Saba Hajhassan el 18 de Mayo de 2023
Editada: Saba Hajhassan el 18 de Mayo de 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 el 16 de Ag. de 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!

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Create Standalone FMU en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by