- Install Rosetta, which allows applications compiled for Intel-based Macs to run on Apple Silicon-based Macs.
- Install CVX for Intel-based Macs.
- Use this on MATLAB for Intel-based Macs.
CVX install on Matlab 2023b (Apple Silicon)
조회 수: 32 (최근 30일)
이전 댓글 표시
Hi, I have download the new version of Matlab natively support for Apple Silicon, i.e., 2023b for Apple Silicon. However, it seems I cannot install a CVX. Specifically, when I run 'cvx_setup', I have the following error report.
---------------------------------------------------------------------------
CVX: Software for Disciplined Convex Programming (c)2014 CVX Research
Version 2.2, Build 1148 (62bfcca) Tue Jan 28 00:51:35 2020
---------------------------------------------------------------------------
Installation info:
Path: /Users/mingchengnie/CVX_Fold/cvx
MATLAB version: 23.2 (R2023b)
OS: Mac OS X aarch64 version 14.0
Java version: 1.8.0_392
Verfying CVX directory contents:
WARNING: The following files/directories are missing:
/Users/mingchengnie/CVX_Fold/cvx/sedumi/.travis.yml
These omissions may prevent CVX from operating properly.
ERROR: one or more MEX files for this platform are missing.
These files end in the suffix ".mexmaca64". CVX will not operate
without these files. Please visit
http://cvxr.com/cvx/download
And download a distribution targeted for your platform.
Preferences:
Path: /Users/mingchengnie/Library/Application Support/MathWorks/MATLAB/cvx_prefs.mat
UNEXPECTED ERROR: ------------------------------
Unrecognized function or variable 'command_str'.
Error in cvx_license
Error in cvx_license
Error in cvx_version (line 309)
cvx_license( args{:} );
Error in cvx_setup (line 20)
cvx_version( '-install', varargin{:} );
------------------------------------------------
Please report this error to support, and include entire output of
CVX_SETUP in your support request.
---------------------------------------------------------------------------
Anyone has the same issue or is there any solution to solve it?
댓글 수: 0
답변 (1개)
Rishi
2023년 10월 30일
Hi Mingchen,
I understand from your query that you are not able to install CVX for MATLAB on a Mac with an Apple chip.
This is because CVX does not have MEX functions which are compatible with MATLAB for Apple Silicon.
To use CVX for MATLAB on a Mac with a Silicon chip, the following can be done:
Hope this helps.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!