Thread Subject: User Input on Matlab Compiled Code

Subject: User Input on Matlab Compiled Code

From: Richard

Date: 16 Nov, 2009 19:06:03

Message: 1 of 3

I compiled a m-file which prompts the user for information on the Command Window using the "input" command. For some reason, when running the executable, the Command Window does not appear for user input and to display results using the "fprint" command. I am running Matlab 2009b. Any suggestions?

Subject: User Input on Matlab Compiled Code

From: Peter Webb

Date: 17 Nov, 2009 04:03:38

Message: 2 of 3

Can you post a small example and the MCC command you used to create it?
That'll help us identify where the problem's occuring.

"Richard" <sonoma.rich@mathworks.com> wrote in message
news:hds7qr$q4v$1@fred.mathworks.com...
>I compiled a m-file which prompts the user for information on the Command
>Window using the "input" command. For some reason, when running the
>executable, the Command Window does not appear for user input and to
>display results using the "fprint" command. I am running Matlab 2009b.
>Any suggestions?

Subject: User Input on Matlab Compiled Code

From: Bruno Luong

Date: 17 Nov, 2009 06:57:04

Message: 3 of 3

"Richard" <sonoma.rich@mathworks.com> wrote in message <hds7qr$q4v$1@fred.mathworks.com>...
> I compiled a m-file which prompts the user for information on the Command Window using the "input" command. For some reason, when running the executable, the Command Window does not appear for user input and to display results using the "fprint" command. I am running Matlab 2009b. Any suggestions?

I believe the "Command Window" is replaced by black console window for compiled application. It's not very intuitive to prompt user input there.

Bruno

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

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.

Tag Activity for This Thread
Tag Applied By Date/Time
compiler Richard Gueler 16 Nov, 2009 14:09:09
input Richard Gueler 16 Nov, 2009 14:09:09
fprintf Richard Gueler 16 Nov, 2009 14:09:09
command window Richard Gueler 16 Nov, 2009 14:09:09
rssFeed for this Thread

Contact us at files@mathworks.com