Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
Method 'Execute' of object 'DIMLApp' failed

Subject: Method 'Execute' of object 'DIMLApp' failed

From: Alan Leung

Date: 10 Apr, 2008 15:29:02

Message: 1 of 3

Hi,

I execute a Excel VBA such that it execute Matlab program.
I receive an error message saying that:

"Method 'Execute' of object 'DIMLApp' failed"

and the error points to this line:

MLEvalString "Test"

where Test.m is the Matlab program that I would like to
execute.

Why did that happen? Is there any solution for this error?

Thanks,

Alan

Subject: Method 'Execute' of object 'DIMLApp' failed

From: Sriram Bajrang Bulusu

Date: 20 Aug, 2009 05:09:18

Message: 2 of 3

Dear Alan,

I got the same error sometime back. It will be a great help if you could let me know how you got over this error.

Thanks,
Sriram Bajrang

"Alan Leung" <twaleung@engmail.uwaterloo.ca> wrote in message <ftlbnu$4at$1@fred.mathworks.com>...
> Hi,
>
> I execute a Excel VBA such that it execute Matlab program.
> I receive an error message saying that:
>
> "Method 'Execute' of object 'DIMLApp' failed"
>
> and the error points to this line:
>
> MLEvalString "Test"
>
> where Test.m is the Matlab program that I would like to
> execute.
>
> Why did that happen? Is there any solution for this error?
>
> Thanks,
>
> Alan

Subject: Method 'Execute' of object 'DIMLApp' failed

From: Alexandre

Date: 17 Sep, 2009 19:43:18

Message: 3 of 3

Hi,

I had the same problem, and solved it by putting a semi-colon after the statement (as in MLEvalString "Test;"). Apparently this problem was occuring for me when the output of the function called was to big to be handled...

"Sriram Bajrang Bulusu" <sriram.bajrang.bulusu@sap.com> wrote in message <h6ilpu$spl$1@fred.mathworks.com>...
> Dear Alan,
>
> I got the same error sometime back. It will be a great help if you could let me know how you got over this error.
>
> Thanks,
> Sriram Bajrang
>
> "Alan Leung" <twaleung@engmail.uwaterloo.ca> wrote in message <ftlbnu$4at$1@fred.mathworks.com>...
> > Hi,
> >
> > I execute a Excel VBA such that it execute Matlab program.
> > I receive an error message saying that:
> >
> > "Method 'Execute' of object 'DIMLApp' failed"
> >
> > and the error points to this line:
> >
> > MLEvalString "Test"
> >
> > where Test.m is the Matlab program that I would like to
> > execute.
> >
> > Why did that happen? Is there any solution for this error?
> >
> > Thanks,
> >
> > Alan

Tags for this Thread

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us