display data in guide???
display data in guide???
(OP)
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
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





RE: display data in guide???
you can use a GridFlex ActiveX control to display your data. That is very convinient and it looks nice as well. You can find a sample at
http://www.mathworks.com/matlabcentral/fileexchange/loa...
Regards,
Kai
RE: display data in guide???
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.
RE: display data in guide???
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