<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/172334</link>
    <title>MATLAB Central Newsreader - Real Time Workshop build error</title>
    <description>Feed for thread: Real Time Workshop build error</description>
    <language>en-us</language>
    <copyright>&amp;copy;1994-2012 by MathWorks, Inc.</copyright>
    <webmaster>webmaster@mathworks.com</webmaster>
    <generator>MATLAB Central Newsreader</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <ttl>60</ttl>
    <image>
      <title>MathWorks</title>
      <url>http://www.mathworks.com/images/membrane_icon.gif</url>
    </image>
    <item>
      <pubDate>Thu, 10 Jul 2008 09:51:06 -0400</pubDate>
      <title>Real Time Workshop build error</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/172334#442208</link>
      <author>Matthew Wade</author>
      <description>Hi,&lt;br&gt;
&lt;br&gt;
I am a first time user of RTW and have got the basics - so &lt;br&gt;
I think this problem relates to some other issue that I am &lt;br&gt;
not aware of at this stage.&lt;br&gt;
&lt;br&gt;
I have a model containing a single s-function (reactor) and &lt;br&gt;
two inputs and two outputs (workspace).&lt;br&gt;
&lt;br&gt;
(Normally the initiation file is run via an m-file and &lt;br&gt;
simulation time is user defined from a GUI, but I &lt;br&gt;
circumvented this for now).&lt;br&gt;
&lt;br&gt;
So, I have followed the basic instructions for creating a &lt;br&gt;
stand-alone version of the model.&lt;br&gt;
&lt;br&gt;
!mkdir&lt;br&gt;
Config. Paramters (fixed-step, Generic real time target) etc&lt;br&gt;
&lt;br&gt;
I initiate the required input parameters by calling two &lt;br&gt;
functions from the workspace and then begin the build.&lt;br&gt;
&lt;br&gt;
Everything works fine until I get these error messages:&lt;br&gt;
&lt;br&gt;
Error anaerobio_1R.c: .\anaerobio_1R.h: 775 syntax error; &lt;br&gt;
found '.' expecting ';'&lt;br&gt;
&lt;br&gt;
Error anaerobio_1R.c: .\anaerobio_1R.h: 775 syntax &lt;br&gt;
skipping '.'&lt;br&gt;
&lt;br&gt;
Error anaerobio_1R.c: .\anaerobio_1R.h: 775 syntax error; &lt;br&gt;
found 'typedef' expecting ';'&lt;br&gt;
&lt;br&gt;
Error anaerobio_1R.c: .\anaerobio_1R_private.h: 42 &lt;br&gt;
redeclaration of 'reactor' previously declared &lt;br&gt;
at .\anaerobio_1R.h 775&lt;br&gt;
&lt;br&gt;
gmake: *** [anaerobio_1R.obj] Error 0x1&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
I guess the error is something to do with the reactor.h &lt;br&gt;
(header file) or reactor.c file.&lt;br&gt;
&lt;br&gt;
I have tried using RTW with a simple model and it works &lt;br&gt;
fine, but not for this.&lt;br&gt;
&lt;br&gt;
Any ideas would be welcome&lt;br&gt;
&lt;br&gt;
Cheers&lt;br&gt;
Matt</description>
    </item>
    <item>
      <pubDate>Thu, 10 Jul 2008 10:56:05 -0400</pubDate>
      <title>Real Time Workshop build error</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/172334#442216</link>
      <author>Matthew Wade</author>
      <description>Addendum:&lt;br&gt;
&lt;br&gt;
The guy who developed the model is in Spain and using a &lt;br&gt;
slightly newer version of Simulink and RTW. &lt;br&gt;
&lt;br&gt;
I asked him to try the compilation process with the model &lt;br&gt;
and it worked fine with exactly the same settings.&lt;br&gt;
&lt;br&gt;
Any thoughts on this - is it simply that I am using an &lt;br&gt;
older version of simulink with a model developed in a newer &lt;br&gt;
version - ps. the model runs fine in Simulink, but perhaps &lt;br&gt;
its a problem with RTW?&lt;br&gt;
&lt;br&gt;
Cheers&lt;br&gt;
Matt</description>
    </item>
  </channel>
</rss>

