Send data from Explorer16 to Matlab ?
Posted: Mon Apr 13, 2009 5:07 pm
Hi Lubin,
I started to use the toolbox for a couple of days. I work on the Explorer 16 board and I'm currently trying to send data to Matlab using the UART, but it doesn't work.
In order to begin with a very simple model, I just want to send a constant (uint16) to Matlab using UART communication.
Since I don't have any DB9 port on my computer, I use a serial to serial (USB) adaptater. Matlab doesn't even seem to recognize when I unplug the USB port because it still gives me this message when I click on "Connexion" in the rs232gui :
Connecting... May take few seconds...
Port COM1 successfully open at 19200............OK
I let the original plot commands in the script frame of rs232gui. If I let the USB cable plugged, Matlab displays the following message when I click on Start :
redefinition SerialCOM
and nothing else happens.
Is there any test I can perform to check if data are sended from the board trough UART ? Am I right to precise COM1 in the model if I use an USB adaptator ?
Thank you in advance for your reply,
Kind regards,
Laurent
I started to use the toolbox for a couple of days. I work on the Explorer 16 board and I'm currently trying to send data to Matlab using the UART, but it doesn't work.
In order to begin with a very simple model, I just want to send a constant (uint16) to Matlab using UART communication.
Since I don't have any DB9 port on my computer, I use a serial to serial (USB) adaptater. Matlab doesn't even seem to recognize when I unplug the USB port because it still gives me this message when I click on "Connexion" in the rs232gui :
Connecting... May take few seconds...
Port COM1 successfully open at 19200............OK
I let the original plot commands in the script frame of rs232gui. If I let the USB cable plugged, Matlab displays the following message when I click on Start :
redefinition SerialCOM
and nothing else happens.
Is there any test I can perform to check if data are sended from the board trough UART ? Am I right to precise COM1 in the model if I use an USB adaptator ?
Thank you in advance for your reply,
Kind regards,
Laurent