How do I troubleshoot issues with importing FMUs in Simulink?

11 次查看(过去 30 天)
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 个评论
Saba Hajhassan
Saba Hajhassan 2023-5-18
编辑:Saba Hajhassan 2023-5-18
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 2023-8-16
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!

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Create Standalone FMU 的更多信息

产品


版本

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by