MATLAB Compiler | ![]() ![]() |
Syntax
%#mex
Description
This pragma informs the MATLAB Compiler to select the MEX-file over an existing M-file.
If you are using the %#function
pragma to define functions that are not available in M-code, you should use the %#external
pragma to define the function. For example,
function y = gamma(x) %#mex error('gamma MEX-file is missing');
![]() | %#function | Functions | ![]() |