<?xml version="1.0" encoding="ISO-8859-1" ?><rss version="2.0">
<channel>
    <title>RoboRealm Forum</title>
    <link>http://www.RoboRealm.com/</link>
    <description>The newest forum threads.</description>
    <lastBuildDate>Tue, 30 Nov 1999 00:11:00 EST</lastBuildDate>
    <language>en-us</language>
    <copyright>Copyright: (C) RoboRealm, http://www.RoboRealm.com/</copyright>
    <docs>http://www.RoboRealm.com/</docs>

    <item>
        <title>No Title</title>
        <description>
        You have to look into overlapped or asynchronous IO. This will complicate things tremendously and I&apos;m not sure Matlab (which we do not support by the way) even provides that. Perhaps this is a better question to be asked on the Mathworks website? There is quite a bit of examples and discussions surrounding matlab elsewhere on the web.&lt;br&gt;&lt;br&gt;If you are, however, interested in using your compass with RoboRealm let us know and we will see what we can do about supporting it.&lt;br&gt;&lt;br&gt;STeven.        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=2657</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=2657</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>serial port reading problem</title>
        <description>
        Hi,&lt;br&gt;&lt;br&gt;I am trying to stream data from a digital compass, the basic code below:&lt;br&gt;&lt;br&gt;s=serial(&apos;COM9&apos;);&lt;br&gt;set(s,&apos;BaudRate&apos;,9600);&lt;br&gt;fopen(s)&lt;br&gt;str=fscanf(s);&lt;br&gt;fclose(s)&lt;br&gt;&lt;br&gt;the data can be read one time because the program only perform fcanf one time, now I want to update the robot position all the time, so I need to fscanf the COM port all the time until I press stop in my MATLAB GUI, I used while loop in the program like&lt;br&gt;&lt;br&gt;while (s.Stauts==&apos;open&apos;)&lt;br&gt;str=fscanf(s);&lt;br&gt;end&lt;br&gt;&lt;br&gt;problem is the com port is opened all the time caused the program in a dead loop, I can not use the fclose to shut down the serial port any more? how can I add a loop to keep reading the port as well as I can stop the reading when I want? thanks for your hints. I appreciate your help 10000000X times in advance!&lt;br&gt;&lt;br&gt;Jiazhong        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=2657</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=2657</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
</channel>
</rss>
