Installing CVX on a MacOS

I get the following license error by running cvx_setup on a Mac:

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: none found; defaults loaded.
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{:} );
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
------------------------------------------------

I have not found any error or message in “Privacy & Security” section of the Mac “System Settings”. Please help me and let me know how I can solve this problem.

Install CVX 2.2.2

I followed the instruction you provided, and it worked.
Thanks Mark, for your help. I appreciate it.