Re: using matlab compiled dll without java support
- From: "Ashish Uthama" <first.last@xxxxxxxxxxxxx>
- Date: Mon, 29 Dec 2008 13:57:43 -0500
On Mon, 29 Dec 2008 11:10:20 -0500, marina <elizabeth.h1@xxxxxxxxxxx> wrote:
hello
I am using matlab compiled dll from my c application.
And i want to initalize the MCR without using java support, so I am doing the following :
const char* opt[]={"-nojvm"};
bool initm=mclInitializeApplication(opt,0);
and I am calling M file that do plot. The plot window appears but with the menu bar and all controls on it for zooming and rotating the plot.
So it seems that java is loaded after all, and the plot window is sun window although I am initalizing with -nojvm.
Why is this? How to make to initilaize without java?
thank u
From the doc:
bool mclInitializeApplication(const char **options, int count);
mclInitializeApplication. Takes an array of strings of user-settable options (these are the very same options that can be provided to mcc via the -R option) and a count of the number of options (the length of the option array). Returns true for success and false for failure.
Looks like you ought to use
bool initm=mclInitializeApplication(opt,1)
.
- Follow-Ups:
- Re: using matlab compiled dll without java support
- From: marina
- Re: using matlab compiled dll without java support
- References:
- using matlab compiled dll without java support
- From: marina
- using matlab compiled dll without java support
- Prev by Date: Re: MATLAB builder for excel
- Next by Date: Re: convolution of random singal
- Previous by thread: using matlab compiled dll without java support
- Next by thread: Re: using matlab compiled dll without java support
- Index(es):
Relevant Pages
|