COMSOL with Simulink Error: ARM64(M2) is not suitable for the _fmu file

Please login with a confirmed email address before reporting spam

When I use the COMSOL with Simulink, I find the matlab cannot run at all. And matlab gives me the error information (attashed in the last). The basic means is that the "fmu" file is incompatible architecture (have 'arm64', need 'x86_64'). So, does the comsol have optimize the error? What I am currently use is the MATLAB in 2022a version (if I use the MTLAB 2024a, the _fmu file cannot be applied because the simulink cannot find the libcsfmu.dylib file), and the version of COMSOL is 6.2. Thank you for any helpful information about this!!! I have focused on this error many days, please~~~

Error information: Error in supplied FMU: Unable to load dynamic library '/Users/wenkii/Library/Preferences/COMSOL/v62/llsimulink/slprj/_fmu/99b6e6501aca8335f57f836b8e97af11/transient/binaries/darwin64/libcsfmu.dylib': dlopen(/Users/wenkii/Library/Preferences/COMSOL/v62/llsimulink/slprj/_fmu/99b6e6501aca8335f57f836b8e97af11/transient/binaries/darwin64/libcsfmu.dylib, 0x0006): tried: '/Users/wenkii/Library/Preferences/COMSOL/v62/llsimulink/slprj/_fmu/99b6e6501aca8335f57f836b8e97af11/transient/binaries/darwin64/libcsfmu.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/System/Volumes/Preboot/Cryptexes/OS/Users/wenkii/Library/Preferences/COMSOL/v62/llsimulink/slprj/_fmu/99b6e6501aca8335f57f836b8e97af11/transient/binaries/darwin64/libcsfmu.dylib' (no such file), '/Users/wenkii/Library/Preferences/COMSOL/v62/llsimulink/slprj/_fmu/99b6e6501aca8335f57f836b8e97af11/transient/binaries/darwin64/libcsfmu.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')). For more information, see the FMU troubleshooting documentation.


0 Replies Last Post 26 févr. 2025, 08:10 UTC−5
COMSOL Moderator

Hello wenkii Young

Your Discussion has gone 30 days without a reply. If you still need help with COMSOL and have an on-subscription license, please visit our Support Center for help.

If you do not hold an on-subscription license, you may find an answer in another Discussion or in the Knowledge Base.

Reply

Please read the discussion forum rules before posting.

Please log in to post a reply.

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.