From: naaz911 on
hello everyone............
i am working on a project and need to integrate my matlab function
files (MATLAB 7) with the Microsoft Visual Studio 2005.
so i read about the COM approach to do so. so i decided build a COM
library out of my *.m files which contained my functions.
i used the GUI of comtool to do so. when i clicked BUILD COM
Object......this was my build status panel......i dont know wat
happened...why was it unsuccessful?

Building COM object...
mcc -M -silentsetup -d 'D:/MATLAB7/work/fingerprintData/src' -B
'ccom:fingerprintData,fingerprintDataclass,1.0' -i
'D:/MATLAB7/work/entropy.m' 'D:/MATLAB7/work/infMeasOfCorr.m'
'D:/MATLAB7/work/localHomo.m'

To get started, select <a href="matlab: doc">MATLAB Help</a> or <a
href="matlab: demo matlab">Demos</a> from the Help menu.

The -i switch is no longer supported; the include exported interfaces
behavior
is applied to every compilation.

Warning: (PM): Duplicate directory name: D:/MATLAB7/work.
Warning: (PM): Duplicate directory name: D:/MATLAB7/work.
Warning: (PM): Duplicate directory name: D:/MATLAB7/work.
Warning: No matching builtin function available for
D:/MATLAB7/toolbox/simulink/simulink/set_param.bi
> In <a href="error:D:/MATLAB7/toolbox/compiler/cmptool.m,1032,1">cmptool>build at 1032</a>
mwcomtypes.idl

D:/MATLAB7/BIN/WIN32/MEX.PL: Error: IDL compile of 'mwcomtypes.idl'
failed.

??? Error using ==> mbuild
Unable to complete successfully

if anyone has a better method to help me use my matlab functions in my
C# code.......
please urgently reply.

thanks,
naaz

From: naaz911 on

naaz...(a)gmail.com wrote:
> hello everyone............
> i am working on a project and need to integrate my matlab function
> files (MATLAB 7) with the Microsoft Visual Studio 2005.
> so i read about the COM approach to do so. so i decided build a COM
> library out of my *.m files which contained my functions.
> i used the GUI of comtool to do so. when i clicked BUILD COM
> Object......this was my build status panel......i dont know wat
> happened...why was it unsuccessful?
>
> Building COM object...
> mcc -M -silentsetup -d 'D:/MATLAB7/work/fingerprintData/src' -B
> 'ccom:fingerprintData,fingerprintDataclass,1.0' -i
> 'D:/MATLAB7/work/entropy.m' 'D:/MATLAB7/work/infMeasOfCorr.m'
> 'D:/MATLAB7/work/localHomo.m'
>
> To get started, select <a href="matlab: doc">MATLAB Help</a> or <a
> href="matlab: demo matlab">Demos</a> from the Help menu.
>
> The -i switch is no longer supported; the include exported interfaces
> behavior
> is applied to every compilation.
>
> Warning: (PM): Duplicate directory name: D:/MATLAB7/work.
> Warning: (PM): Duplicate directory name: D:/MATLAB7/work.
> Warning: (PM): Duplicate directory name: D:/MATLAB7/work.
> Warning: No matching builtin function available for
> D:/MATLAB7/toolbox/simulink/simulink/set_param.bi
> > In <a href="error:D:/MATLAB7/toolbox/compiler/cmptool.m,1032,1">cmptool>build at 1032</a>
> mwcomtypes.idl
>
> D:/MATLAB7/BIN/WIN32/MEX.PL: Error: IDL compile of 'mwcomtypes.idl'
> failed.
>
> ??? Error using ==> mbuild
> Unable to complete successfully
>
> if anyone has a better method to help me use my matlab functions in my
> C# code.......
> please urgently reply.
>
> thanks,
> naaz

well guys i run the command again at the command prompt with '-v'
option and it showed this error......

"Processing D:\MATLAB7\extern\include\mwcomtypes.idl
midl : command line error MIDL1001 : cannot open input file oaidl.idl
"

how can i solve this??

 | 
Pages: 1
Prev: memmapfile
Next: Flight gear Simulink