From: Maria on 10 Jun 2010 22:32 i have a problem with serial writing to a microcontroller through simulink blocks. i'm using "to instrument" block, available in matlab 7.1 version, in simulink. The buffer size is 16384. and the baud rate is 9600. the timeout parameter i have specified is 160. i need to send only 3 values "100, 1 , 150" continuously through the port. no other data is transmitted. the error is random and reads "timeout occurred during serial.fwrite". there are lots of solutions in matlab central using code lines. but could'nt find any for simulink. pls help. this is urgent.
From: Trent Jarvi on 11 Jun 2010 11:15 "Maria " <maria.shruthi.rao(a)gmail.com> wrote in message news:hus77s$2nd$1(a)fred.mathworks.com... >i have a problem with serial writing to a microcontroller through simulink >blocks. i'm using "to instrument" block, available in matlab 7.1 version, >in simulink. The buffer size is 16384. and the baud rate is 9600. the >timeout parameter i have specified is 160. i need to send only 3 values >"100, 1 , 150" continuously through the port. no other data is transmitted. >the error is random and reads "timeout occurred during serial.fwrite". >there are lots of solutions in matlab central using code lines. but >could'nt find any for simulink. pls help. this is urgent. > Hi Maria, This looks like a bug fixed in R2008a. If you ask tech support for the external bug report to 250986 or search in our support pages there is a fix that may be downloaded.
|
Pages: 1 Prev: Get figures into open office in linux? Next: fuzzy rough sets and neural networks |