Hi,
I tried to use matlab from my vc++ program. I have included the header files necessary for MATLAB. i have also included the libraries for MATLAB in linker settings.
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "engine.h"
int main()
{
Engine *ep;
if (!(ep = engOpen("\0"))) {
fprintf(stderr, "\nCan't start MATLAB engine\n");
return 0;
}
}
In my machine i have matlab version 6.5 instaleld. and i can start the matlab engine successfully and the pointer 'ep' has some valid address. But when i use the same project in a machine with out Matlab installation , I get the message 'cannot start matlab engine' and 'ep' is NULL (but i have copied the header files and libs and dlls for matlab in this machine).
So, my question is how to use the matlab engine and its functions in a machine with out matlab installation?.
What are the possibilities to use the matlab functions without actualling installing it?
I tried to use matlab from my vc++ program. I have included the header files necessary for MATLAB. i have also included the libraries for MATLAB in linker settings.
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "engine.h"
int main()
{
Engine *ep;
if (!(ep = engOpen("\0"))) {
fprintf(stderr, "\nCan't start MATLAB engine\n");
return 0;
}
}
In my machine i have matlab version 6.5 instaleld. and i can start the matlab engine successfully and the pointer 'ep' has some valid address. But when i use the same project in a machine with out Matlab installation , I get the message 'cannot start matlab engine' and 'ep' is NULL (but i have copied the header files and libs and dlls for matlab in this machine).
So, my question is how to use the matlab engine and its functions in a machine with out matlab installation?.
What are the possibilities to use the matlab functions without actualling installing it?