Matlab: Testing C++ MEX

copyfile(fullfile(matlabroot,'extern','examples','mex','yprime.c'), '~')

mex yprime.c

yprime(3,[4,2,7,1])

ans = 2.0000 5.9924 1.0000 2.986

Tags:

Categories:

Updated: