MPT3 installation issue on a mac M1 pro platform
Show older comments
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?
Accepted Answer
More Answers (2)
MPT3 macOS binaries are Intel-only (mexmaci64) so they don't run on Apple Silicon MATLAB. I compiled ARM64 replacements (mexmaca64) and published them here: https://github.com/sukruayyildiz/mpt3-apple-silicon
Just replace the binaries in the MPT3 folders (cddmex, fourier, lcp) and run:
clear classes
rehash toolboxcache
Then test the installation by
mpt_demo1
It should be working.
1 Comment
Fengcheng
on 15 Mar 2026 at 19:26
help a lot. I can say bye to my 2021b now.
Fengcheng
on 11 Feb 2025
0 votes
Excuse I get the same problem. Can you share how yu solve this unavaliable error? (same M sillicon and 2024b)
1 Comment
Xinzhou Gao
on 11 Feb 2025
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!