Include library path in MATLAB coder

12 views (last 30 days)
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);
res = rtfwd(rad, rh, rv);
nrad = int32(numel(rad));
coder.ceval('wrtfwd', nrad, ...
coder.rref(rad), coder.rref(rh), coder.rref(rv), coder.wref(res));
I have the .lib for wrtfwd, but how do I provide this path to Coder ?

Accepted Answer

Ryan Livingston
Ryan Livingston on 17 Mar 2017

More Answers (0)


Find more on Generating Code in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!