mcc compiling for maca64

조회 수: 11 (최근 30일)
Peter Majer
Peter Majer 2024년 1월 31일
편집: Stefanie Schwarz 2024년 10월 8일
Our software compiles some MatLab extensions using the mcc function. We have been working on an Apple silicon version of our software, and have stumbled on a wall with mcc: according to the help, there is no option to compile for arm (maca64).
Are we reading this wrong, and compilation is actually possible but not cross-compilation?
If we are reading this corretly and there is currently no way to use mcc to compile extensions for our software in arm, when could we expect to be possible?
Thank you.

답변 (2개)

Hassaan
Hassaan 2024년 1월 31일
The support for Apple Silicon in MATLAB is relatively new and evolving, it is best to directly consult MathWorks' resources or their support team for the most current and detailed information on mcc's capabilities with respect to Apple Silicon.
For more detailed information and updates, you can refer to MathWorks' official pages on MATLAB on Apple Silicon Macs and the MATLAB Blog regarding their latest releases and support for Apple Silicon.
-----------------------------------------------------------------------------------------------------------------------------------------------------
If you find the solution helpful and it resolves your issue, it would be greatly appreciated if you could accept the answer. Also, leaving an upvote and a comment are also wonderful ways to provide feedback.
It's important to note that the advice and code are based on limited information and meant for educational purposes. Users should verify and adapt the code to their specific needs, ensuring compatibility and adherence to ethical standards.
Professional Interests
  • Technical Services and Consulting
  • Embedded Systems | Firmware Developement | Simulations
  • Electrical and Electronics Engineering
Feel free to contact me.

Stefanie Schwarz
Stefanie Schwarz 2024년 9월 19일
편집: Stefanie Schwarz 2024년 10월 8일
Hello Peter,
compiling applications for Apple Silicon (maca64) is possible on Apple Silicon Macs running the native Apple Silicon version of MATLAB (available from R2023b). As you said, cross-compilations from Intel (maci64) to (maca64) is not possible. This page has all the details:
I believe the documentation you are referring is about the "-A arch" flag. This flag does not apply to standalone applications, but only to Python, Java, and C++ MATLAB Data API targets. I asked our doc team to make this item clearer and explain what the exact restriction for maca64 platform is.
Best, Stefanie

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

제품


릴리스

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by