I compile a COM object using the MATLAB Builder for .NET 2.0(R2006a). I include the following MATLAB files in the project.
1. A MATLAB file containing the code :
function fooh = figure; plot(1:4,5:8)print(h)
2. MATLAB built-in MATLAB file print.m
I compile the project using Microsoft Visual C++ 7.1 compiler.
In the builder log file, I get the following warning message:
Warning: "D:/Applications/MATLAB/R2006a/toolbox/matlab/graphics/private/render.p" is a Mex or P-file being referenced from "D:/Applications/MATLAB/R2006a/toolbox/matlab/graphics/print.m".
NOTE: A link error will be produced if a call to this function is made from stand-alone code.
Best Answer