How can I use Xcode11 to be my compiler?
3 views (last 30 days)
Show older comments
Yandong Lang
on 13 Aug 2020
Answered: Walter Roberson
on 13 Aug 2020
I have already downloaded Xcode in my computer. However, the error still says there is no complier to use:
Undefined function 'codegen' for input arguments of type 'coder.MexCodeConfig'.
Error in pot_dens_surf_vertsolve_codegen (line 137)
codegen(name, '-args', args, '-config', mexconfig, '-o', [file_mat.folder V name_mex], '-d', [file_mat.folder V
'codegen' V 'mex' V name]);
Error in pot_dens_surf (line 122)
pot_dens_surf_vertsolve_codegen(nk, ni, nj, isvector(X), OPTS);
Error in run_omega (line 69)
p = pot_dens_surf(SB, TB, zB, 1000, isoval, OPTS);
So how can I use Xcode to be the default complier in MatLab?
0 Comments
Accepted Answer
Walter Roberson
on 13 Aug 2020
https://www.mathworks.com/help/coder/ref/codegen.html
The problem at the moment is not xcode 11: the problem at the moment is that program wants to use the MATLAB Coder product to generate C or C++ code from MATLAB code, but you do not have MATLAB Coder product.
0 Comments
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!