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:
How to generate an independent deployment?

Subject: How to generate an independent deployment?

From: Jacques ?

Date: 27 Jul, 2009 08:23:01

Message: 1 of 3

I used the Mbuild and mcc to make an exe file, and install the mcrinstaller.exe in a computer without Matlab environment.
But the exe file can't run there.

The error info in the dos window is:
Undefined command/function 'set_param'.
Error in => matlabrc at 81.

Then I annonate the lines in matlabrc.m and make the exe file again.
The error is the same.

Please tell me how to deal with this problem?

Thanks.

Subject: How to generate an independent deployment?

From: Caroline From France

Date: 27 Jul, 2009 11:50:18

Message: 2 of 3

"Jacques ?" <jacques_zzc@hotmail.com> wrote in message <h4jo55$f8f$1@fred.mathworks.com>...
> I used the Mbuild and mcc to make an exe file, and install the mcrinstaller.exe in a computer without Matlab environment.
> But the exe file can't run there.
>
> The error info in the dos window is:
> Undefined command/function 'set_param'.
> Error in => matlabrc at 81.
>
> Then I annonate the lines in matlabrc.m and make the exe file again.
> The error is the same.
>
> Please tell me how to deal with this problem?
>
> Thanks.

Hi,

I suppose that it is related to a know bug referenced in this technical note :
http://www.mathworks.com/support/solutions/en/data/1-O9PX9/?solution=1-O9PX9

Did you also annotate line 82 ?

Caroline

Subject: How to generate an independent deployment?

From: Jacques ?

Date: 27 Jul, 2009 15:36:04

Message: 3 of 3

"Caroline From France" <caro95470@nospam.free.fr> wrote in message <h4k49q$g63$1@fred.mathworks.com>...
> "Jacques ?" <jacques_zzc@hotmail.com> wrote in message <h4jo55$f8f$1@fred.mathworks.com>...
> > I used the Mbuild and mcc to make an exe file, and install the mcrinstaller.exe in a computer without Matlab environment.
> > But the exe file can't run there.
> >
> > The error info in the dos window is:
> > Undefined command/function 'set_param'.
> > Error in => matlabrc at 81.
> >
> > Then I annonate the lines in matlabrc.m and make the exe file again.
> > The error is the same.
> >
> > Please tell me how to deal with this problem?
> >
> > Thanks.
>
> Hi,
>
> I suppose that it is related to a know bug referenced in this technical note :
> http://www.mathworks.com/support/solutions/en/data/1-O9PX9/?solution=1-O9PX9
>
> Did you also annotate line 82 ?
>
> Caroline


Yes, I annotated 81 and 82 and rehash the toolboxcache. And then made the exe file again. But the situation was worse and the exe couldn't run in any computer.

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