Got Questions? Get Answers.
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:
Issue with .exe file created by deploytool

Subject: Issue with .exe file created by deploytool

From: grpsys01@gmail.com

Date: 13 May, 2013 18:56:11

Message: 1 of 1

Hi,

I have a simple MATLAB code which reads the serial port and displays the output of *IDN? . I am using the deploytool to compile it (to serialRead.exe) and use it on a different machine without MATLAB (MCR installed).

1. When serialRead.exe is executed, it doesn't display anything, and I get back to the command prompt. It appears as if there is no output. However, after about 2 minutes I see a message with the output of *IDN?

2. At the end of execution the .exe file doesn't give back the control (ie, I don't see the command prompt; The cursor keeps blinking. I get the control back only when I issue a CTRL+C.

Any idea what I am doing wrong? (The output is OK, but the delay and the behavior of the program is not.)

Thanks.

Tags for this Thread

No tags are associated with 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