<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/172867</link>
    <title>MATLAB Central Newsreader - field and structure calling</title>
    <description>Feed for thread: field and structure calling</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>Fri, 18 Jul 2008 20:30:21 -0400</pubDate>
      <title>field and structure calling</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/172867#444008</link>
      <author>ching l</author>
      <description>Did I misunderstand the use of field and structure?&lt;br&gt;
Can someone point out my mistakes please.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
%% PLAY AUDIO&lt;br&gt;
function select_audio_Callback(hObject, eventdata, handles)&lt;br&gt;
&lt;br&gt;
handles.randValue = rand;&lt;br&gt;
wavplay(samples{ceil(length(samples)*handles.randValue)}{:}) ;&lt;br&gt;
&lt;br&gt;
guidata(hObject, handles);&lt;br&gt;
&lt;br&gt;
%%------------------------------&lt;br&gt;
&lt;br&gt;
%% ANSWER&lt;br&gt;
&lt;br&gt;
function answer_faster_Callback(hObject, eventdata, handles)&lt;br&gt;
&lt;br&gt;
%% write answer in text with the corresponded audio&lt;br&gt;
csvwrite(num2str (get(handles.randValue, 'Value')),[1]); &lt;br&gt;
&lt;br&gt;
guidata(hObject, handles);</description>
    </item>
    <item>
      <pubDate>Fri, 18 Jul 2008 20:42:02 -0400</pubDate>
      <title>Re: field and structure calling</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/172867#444009</link>
      <author>Bruno Luong</author>
      <description>&quot;ching l&quot; &amp;lt;chinglnc@hotmail.com&amp;gt; wrote in message&lt;br&gt;
&amp;lt;g5qugt$77j$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&lt;br&gt;
&amp;gt; Can someone point out my mistakes please.&lt;br&gt;
&amp;gt;&lt;br&gt;
&lt;br&gt;
Here:&lt;br&gt;
&lt;br&gt;
get(handles.randValue, 'Value')</description>
    </item>
    <item>
      <pubDate>Fri, 18 Jul 2008 21:08:02 -0400</pubDate>
      <title>Re: field and structure calling</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/172867#444024</link>
      <author>ching l</author>
      <description>&quot;Bruno Luong&quot; &amp;lt;b.luong@fogale.fr&amp;gt; wrote in message&lt;br&gt;
&amp;lt;g5qv6q$f1p$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &quot;ching l&quot; &amp;lt;chinglnc@hotmail.com&amp;gt; wrote in message&lt;br&gt;
&amp;gt; &amp;lt;g5qugt$77j$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; Can someone point out my mistakes please.&lt;br&gt;
&amp;gt; &amp;gt;&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Here:&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; get(handles.randValue, 'Value')&lt;br&gt;
&lt;br&gt;
a bit more hint?</description>
    </item>
    <item>
      <pubDate>Fri, 18 Jul 2008 21:20:03 -0400</pubDate>
      <title>Re: field and structure calling</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/172867#444031</link>
      <author>Bruno Luong</author>
      <description>&quot;ching l&quot; &amp;lt;chinglnc@hotmail.com&amp;gt; wrote in message&lt;br&gt;
&amp;lt;g5r0ni$f2$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; a bit more hint?&lt;br&gt;
&lt;br&gt;
toto.pocketmoney=1000;&lt;br&gt;
&lt;br&gt;
% Question: How do you retrieve 1000 from toto?&lt;br&gt;
% Bruno</description>
    </item>
    <item>
      <pubDate>Fri, 18 Jul 2008 21:27:02 -0400</pubDate>
      <title>Re: field and structure calling</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/172867#444032</link>
      <author>ching l</author>
      <description>&quot;Bruno Luong&quot; &amp;lt;b.luong@fogale.fr&amp;gt; wrote in message&lt;br&gt;
&amp;lt;g5r1e3$9fm$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &quot;ching l&quot; &amp;lt;chinglnc@hotmail.com&amp;gt; wrote in message&lt;br&gt;
&amp;gt; &amp;lt;g5r0ni$f2$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; a bit more hint?&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; toto.pocketmoney=1000;&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; % Question: How do you retrieve 1000 from toto?&lt;br&gt;
&amp;gt; % Bruno&lt;br&gt;
&lt;br&gt;
hey, I GOT IT!!!&lt;br&gt;
&lt;br&gt;
THANKS FOR THE HINT!!!</description>
    </item>
    <item>
      <pubDate>Fri, 18 Jul 2008 21:36:02 -0400</pubDate>
      <title>Re: field and structure calling</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/172867#444034</link>
      <author>Bruno Luong</author>
      <description>&quot;ching l&quot; &amp;lt;chinglnc@hotmail.com&amp;gt; wrote in message&lt;br&gt;
&amp;lt;g5r1r6$dd6$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &quot;Bruno Luong&quot; &amp;lt;b.luong@fogale.fr&amp;gt; wrote in message&lt;br&gt;
&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; hey, I GOT IT!!!&lt;br&gt;
&amp;gt; &lt;br&gt;
&lt;br&gt;
You got toto's pocketmoney???&lt;br&gt;
&lt;br&gt;
Bruno</description>
    </item>
  </channel>
</rss>

