RandyC
Computer
- Apr 11, 2003
- 5
Hi there,
I've been trying to get one of my Matlab apps to compile to a standalone C++ app using the compiler with little luck so far. Basically it’s stating that I have some undefined variables in the application. All of the variables that come up are in fact commands (like imshow). I'm typing in mcc -m (filename.m) on the command line and the same errors seem to occur. I think its not liking in to the Matlab libraries somehow. I have set up the compiler properly as per the instructions and am using the Borland C++ 5.5 compiler. Here is one of the errors that occurs on compile:
Warning: File: pwavemain_gui Line: 54 Column: 1
References to "whitebg" will produce a run-time error because it is an undefined
function or variable.
I'm running Windows XP Pro and using Matlab 6.5 and am using the Wavelet and Image Processing toolboxes. I am also using m files which have exported GUIDE created interfaces in them. The app works perfectly within Matlab with no runtime errors. Does anyone know a possible solution to this?
Thanks in advance.
Carl
I've been trying to get one of my Matlab apps to compile to a standalone C++ app using the compiler with little luck so far. Basically it’s stating that I have some undefined variables in the application. All of the variables that come up are in fact commands (like imshow). I'm typing in mcc -m (filename.m) on the command line and the same errors seem to occur. I think its not liking in to the Matlab libraries somehow. I have set up the compiler properly as per the instructions and am using the Borland C++ 5.5 compiler. Here is one of the errors that occurs on compile:
Warning: File: pwavemain_gui Line: 54 Column: 1
References to "whitebg" will produce a run-time error because it is an undefined
function or variable.
I'm running Windows XP Pro and using Matlab 6.5 and am using the Wavelet and Image Processing toolboxes. I am also using m files which have exported GUIDE created interfaces in them. The app works perfectly within Matlab with no runtime errors. Does anyone know a possible solution to this?
Thanks in advance.
Carl