Include library path in MATLAB coder

7 vues (au cours des 30 derniers jours)
Fabio Canesin
Fabio Canesin le 16 Mar 2017
I'm using MATLAB Coder to generate C code and on the original MATLAB I call a mex file. I do have a C interface for that, but how can I provide additional library path for the coder compiler ?
My code is:
function [ res ] = crtfwd(rad, rh, rv) %#codegen
res = zeros(1, 234);
if coder.target('MATLAB')
res = rtfwd(rad, rh, rv);
else
nrad = int32(numel(rad));
coder.ceval('wrtfwd', nrad, ...
coder.rref(rad), coder.rref(rh), coder.rref(rv), coder.wref(res));
end
end
I have the .lib for wrtfwd, but how do I provide this path to Coder ?

Réponse acceptée

Ryan Livingston
Ryan Livingston le 17 Mar 2017

Plus de réponses (0)

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by