Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations GregLocock on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

display data in guide???

Status
Not open for further replies.

killabyte

Electrical
Sep 15, 2003
67
i need to display some data received from a serial comm using guide, but i dont know what kind of box to use, an edit box doesnt allow to diplay multiple lines, so, how can i do that?

im having some trouble closing com1 when i use fread and fwrite, the port doesnt close properly and i have to restar matlab. i close, delete and clear as matlab´s help says.

regards

killa
 
Replies continue below

Recommended for you

Hi killabyte,

I am trying to get data over serial program but matlab doesn't respond to commands. Can you give me advise to get datas from serial port.
 
you should check first the serial data type you are transmitting. synchronous asynchronous.

wil you get bits or bytes, ascii...

then check the way you are capturing data, there is a huge list of parameters you should inspect and then carefully select be careful when doing this.

there is some problems in matlab serial ports in version 6.1 and early cause if you close the port and delete the objects you wont be allowed to control the port until you restart matlab.

usually is necessary to create a .m script to get data. be more specific and i be more able to help you. please read first matlab´s help about serial transmitting it altough it is not so clear, is a great help.

are you developing a "guide" application?

let me know

regards

killa
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor