MATLAB: How can use a matlab’s dll of a funtion (with some parameter ) in vc++6.0v

i want make a dll of this function and use it in my vc++ 6.0 application..

function x = IV(RateSpec,StockSpec,Settlement,Maturity,OptSpec,Strike,OptionPrice)
x= impvbybls(RateSpec, StockSpec, Settlement, Maturity, OptSpec,
Strike, OptionPrice);
end

Best Answer

Hi Sandeep,
do you have the compiler? You will need it to generate a DLL. Open deploytool, select "C-shared library target", add IV and compile. Take a look at the examples in the doc how to call the generated DLL.
Titus