MPT3 installation issue on a mac M1 pro platform

41 visualizaciones (últimos 30 días)
Xinzhou Gao
Xinzhou Gao el 7 de En. de 2025
Comentada: Xinzhou Gao el 11 de Feb. de 2025
Hello everyone,
I'm a user of MPT3(multi-parametric toolbox 3), and my computer is a Mac M1 Pro, my Matlab version is 2024b.
When I installed the MPT3 on my computer, the following issue happens:
Error using tbxmanager>main_install (line 468)
Toolbox "cddmex" is not available for your platform.
Error using tbxmanager (line 150)
Cannot continue, see message above.
Error in install_mpt3 (line 55)
tbxmanager install mpt mptdoc cddmex fourier glpkmex hysdel lcp sedumi yalmip
^^^^^^^^^^
Actually, this does not only happen for tool "cddmex", other toolboxes, including "fourier glpkmex hysdel lcp sedumi", also has this issue.
However, when I installed it for my matlab2021b, it was successful.
Does anyone know the way to fix it?

Respuesta aceptada

Umar
Umar el 8 de En. de 2025

Hi @Xinzhou Gao,

The errors you're encountering primarily stem from compatibility issues between the toolboxes and the ARM architecture of your Mac M1 Pro. Many MATLAB toolboxes and external libraries were initially designed for Intel-based Macs, and they may not yet have been updated to support Apple Silicon natively. This is likely why you can install MPT3 successfully on an older version of MATLAB (2021b) but face issues with 2024b.

Steps to Resolve the Issue

1. Check for Updates: Ensure that you have the latest version of MATLAB installed. MathWorks continuously updates their software, including improvements for Apple Silicon compatibility. Look for updates specifically for MPT3 and its dependencies. The developers might have released a newer version that addresses these issues.

2. Install Compatible Versions: If possible, consider using a version of MATLAB that is known to be compatible with MPT3 and its toolboxes on ARM architecture. You mentioned that MATLAB 2021b works fine; it might be worth using that version until full compatibility with 2024b is confirmed.

3. Use Rosetta 2: If you haven't already, try running MATLAB under Rosetta 2, which allows Intel-based applications to run on Apple Silicon. To do this: - Find MATLAB in your Applications folder. - Right-click (or Control-click) on MATLAB and select "Get Info." - Check the box for "Open using Rosetta." - This may allow you to install and run toolboxes that are not yet natively supported.

4. Manually Install Toolboxes: For some toolboxes like "cddmex" or "glpkmex," you may need to manually compile them from source if precompiled binaries are not available for your architecture. Refer to the documentation of each toolbox for instructions on compiling them on macOS.

5. Community Support: Reach out to user forums or communities specific to MPT3 or MATLAB users with M1 chips. Other users may have encountered similar issues and can provide insights or workarounds.

6. Contact MathWorks Support: If none of the above solutions work, consider contacting MathWorks technical support for assistance. They can provide specific guidance based on your setup by clicking the link below.

Mathworks Support

Here are some additional insights that I would like to share

MATLAB Compatibility: As new versions of software are released, especially in environments transitioning from Intel to ARM architectures, compatibility can be a moving target. It's essential to stay informed about which versions of third-party toolboxes are compatible with which versions of MATLAB.

Testing Toolboxes: If you have access to another machine (Intel-based), testing the installation there can help confirm whether the issue is indeed related to architecture or if it's a broader compatibility issue with the new MATLAB version.

By following these steps, you should be able to address the installation issues with MPT3 on your Mac M1 Pro effectively.

Hope this helps.

  1 comentario
Xinzhou Gao
Xinzhou Gao el 8 de En. de 2025
Hello Umar,
Your information is very helpful, it totally addresses my question.
Thank you a lot!

Iniciar sesión para comentar.

Más respuestas (1)

Fengcheng
Fengcheng el 11 de Feb. de 2025
Excuse I get the same problem. Can you share how yu solve this unavaliable error? (same M sillicon and 2024b)
  1 comentario
Xinzhou Gao
Xinzhou Gao el 11 de Feb. de 2025
Hello Fengcheng,
It seems that MPT3 team doesn't keep pace with apple M silicon, so I installed Matlab2021b and use MPT3 in this version.
Hope it helps.

Iniciar sesión para comentar.

Categorías

Más información sobre Introduction to Installation and Licensing en Help Center y File Exchange.

Productos


Versión

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by