フィルターのクリア

CVX install on Matlab 2023b (Apple Silicon)

56 ビュー (過去 30 日間)
mingcheng nie
mingcheng nie 2023 年 10 月 23 日
回答済み: Rishi 2023 年 10 月 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?

回答 (1 件)

Rishi
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:
  • 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.
Hope this helps.

カテゴリ

Help Center および File ExchangeStartup and Shutdown についてさらに検索

タグ

製品


リリース

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by