×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

How to use matlab engine,its functions in a machine W/O matlab install

How to use matlab engine,its functions in a machine W/O matlab install

How to use matlab engine,its functions in a machine W/O matlab install

(OP)
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?

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources