<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/244194</link>
    <title>MATLAB Central Newsreader - open a file</title>
    <description>Feed for thread: open a file</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>Tue, 10 Feb 2009 13:08:02 -0500</pubDate>
      <title>open a file</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/244194#627313</link>
      <author>Theo Kalfas</author>
      <description>Hi, &lt;br&gt;
I have a file result.mat which is in the folder work and it has 3 matrix.I want to open this file in my m-file which i have to read these matrix.How can i do that?With the fopen?&lt;br&gt;
Thank you.</description>
    </item>
    <item>
      <pubDate>Tue, 10 Feb 2009 13:14:01 -0500</pubDate>
      <title>Re: open a file</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/244194#627315</link>
      <author>David </author>
      <description>&quot;Theo Kalfas&quot; &amp;lt;k_thodoros@yahoo.gr&amp;gt; wrote in message &amp;lt;gmru7i$on0$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; Hi, &lt;br&gt;
&amp;gt; I have a file result.mat which is in the folder work and it has 3 matrix.I want to open this file in my m-file which i have to read these matrix.How can i do that?With the fopen?&lt;br&gt;
&amp;gt; Thank you.&lt;br&gt;
&lt;br&gt;
if its a .mat file created with the 'save' function, you get back the data with the 'load' command.</description>
    </item>
    <item>
      <pubDate>Tue, 10 Feb 2009 14:12:56 -0500</pubDate>
      <title>Re: open a file</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/244194#627339</link>
      <author>vedenev</author>
      <description>Use load in format:&lt;br&gt;
S=load('result.mat');&lt;br&gt;
&lt;br&gt;
Then S will be structure with your data. If result.mat has matricies A&lt;br&gt;
and B then you can get it as S.A and S.B&lt;br&gt;
&lt;br&gt;
-----------------------------------------&lt;br&gt;
Maxim Vedenev, MATLAB Custom Programming&lt;br&gt;
vedenev@ngs.ru&lt;br&gt;
&lt;a href=&quot;http://simulations.narod.ru/&quot;&gt;http://simulations.narod.ru/&lt;/a&gt;</description>
    </item>
  </channel>
</rss>

