<rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0">
  <channel>
    <title>MaplePrimes - answers and comments on Question, suppress warnings using writeto</title>
    <link>http://www.mapleprimes.com/questions/121205-Suppress-Warnings-Using-Writeto</link>
    <language>en-us</language>
    <copyright>2026 Maplesoft, A Division of Waterloo Maple Inc.</copyright>
    <generator>Maplesoft Document System</generator>
    <lastBuildDate>Wed, 10 Jun 2026 21:45:53 GMT</lastBuildDate>
    <pubDate>Wed, 10 Jun 2026 21:45:53 GMT</pubDate>
    <itunes:subtitle />
    <itunes:summary />
    <description>The latest answers and comments added to the Question, suppress warnings using writeto</description>
    <image>
      <url>http://www.mapleprimes.com/images/mapleprimeswhite.jpg</url>
      <title>MaplePrimes - answers and comments on Question, suppress warnings using writeto</title>
      <link>http://www.mapleprimes.com/questions/121205-Suppress-Warnings-Using-Writeto</link>
    </image>
    <item>
      <title>fprintf</title>
      <link>http://www.mapleprimes.com/questions/121205-Suppress-Warnings-Using-Writeto?ref=Feed:MaplePrimes:suppress warnings using writeto:Comments#answer121215</link>
      <itunes:summary>&lt;p&gt;You could use fprintf to write to the file, and make the CodeGeneration:-Matlab command return a string to be so printed.&lt;/p&gt;
&lt;pre&gt;&amp;gt; restart;&lt;br&gt;&lt;br&gt;&amp;gt; fprintf("testfile2.txt","%s\n",CodeGeneration:-Matlab(u(1) = 3, 'output'=string));&lt;br&gt;Warning, the function names {u} are not recognized in the target language&lt;br&gt;                               17&lt;br&gt;&lt;br&gt;&amp;gt; fclose("testfile2.txt"); # when finished all appends to the file&lt;br&gt;&lt;br&gt;&amp;gt; fprintf("testfile3.txt","%s\n",CodeGeneration:-Matlab(eval(`sin/normal`), 'output'=string));&lt;br&gt;Warning, the function names {ASSERT, `tools/sign`} are not recognized in the target language&lt;br&gt;                              298&lt;br&gt;&lt;br&gt;&amp;gt; fclose("testfile3.txt"); # when finished all appends to the file&lt;/pre&gt;</itunes:summary>
      <description>&lt;p&gt;You could use fprintf to write to the file, and make the CodeGeneration:-Matlab command return a string to be so printed.&lt;/p&gt;
&lt;pre&gt;&amp;gt; restart;&lt;br&gt;&lt;br&gt;&amp;gt; fprintf("testfile2.txt","%s\n",CodeGeneration:-Matlab(u(1) = 3, 'output'=string));&lt;br&gt;Warning, the function names {u} are not recognized in the target language&lt;br&gt;                               17&lt;br&gt;&lt;br&gt;&amp;gt; fclose("testfile2.txt"); # when finished all appends to the file&lt;br&gt;&lt;br&gt;&amp;gt; fprintf("testfile3.txt","%s\n",CodeGeneration:-Matlab(eval(`sin/normal`), 'output'=string));&lt;br&gt;Warning, the function names {ASSERT, `tools/sign`} are not recognized in the target language&lt;br&gt;                              298&lt;br&gt;&lt;br&gt;&amp;gt; fclose("testfile3.txt"); # when finished all appends to the file&lt;/pre&gt;</description>
      <guid>121215</guid>
      <pubDate>Tue, 07 Jun 2011 17:47:53 Z</pubDate>
      <itunes:author>pagan</itunes:author>
      <author>pagan</author>
    </item>
    <item>
      <title>solved</title>
      <link>http://www.mapleprimes.com/questions/121205-Suppress-Warnings-Using-Writeto?ref=Feed:MaplePrimes:suppress warnings using writeto:Comments#comment121245</link>
      <itunes:summary>&lt;p&gt;Thanks a lot.&lt;/p&gt;
&lt;p&gt;The sollution is tricky but it works!&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;Thanks a lot.&lt;/p&gt;
&lt;p&gt;The sollution is tricky but it works!&lt;/p&gt;</description>
      <guid>121245</guid>
      <pubDate>Wed, 08 Jun 2011 11:23:55 Z</pubDate>
      <itunes:author>hubertbauer</itunes:author>
      <author>hubertbauer</author>
    </item>
  </channel>
</rss>