Clear Filters
Clear Filters

How do I troubleshoot issues with importing FMUs in Simulink?

16 views (last 30 days)
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 Comments
Saba Hajhassan
Saba Hajhassan on 18 May 2023
Edited: Saba Hajhassan on 18 May 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 on 16 Aug 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!

Sign in to comment.

Answers (0)

Categories

Find more on Create Standalone FMU in Help Center and File Exchange

Products


Release

R2021b

Community Treasure Hunt

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

Start Hunting!