i need sample codes
-write matlab m file
-convert it to a com object
-use the resulting classes in visual c++
i finished the first two steps but i cannot do the last step since i am not familiar with vc++ . can anyone give sample code?
this is the -m file
function TwoDPlot(x,y)
%x and y are vectors
plot(x,y)
xlabel('x');
ylabel('y');

