Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski 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
Joined
Sep 15, 2003
Messages
67
Location
CO
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
 
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

Back
Top