[A, count] = fscanf(fid,['%s %d, %s %d, %s %f, %s %d.'],[AnInstantNumberRelatedToTheLengthOfALine, numberOfRows]);
我将rsstail的输出分配给名为txt0的变量,然后我尝试将新闻变量中存在的rsstail输出值打印到文本字段,但我的文本字段不刷新当我点击两个按钮rsstail输出没有改变。两个按钮都是一样的。
答案 0 :(得分:0)
Aaha将rsstail输出转换为文本文件解决了它。喜欢:
<hbox>
<button>
<input file>bbc_150x150.jpeg</input>
<variable>bbc</variable>
<action>echo $(eval rsstail -u newsrss.bbc.co.uk/rss/newsonline_uk_edition/front_page/rss.xml -u feeds.bbci.co.uk/news/system/latest_published_content/rss.xml -1 -n 3) > txt0.txt</action>
<action>echo $txt0.txt</action>
<action>refresh:txt0</action>
</button>
</hbox>
<hbox>
<button>
<input file>bbcbusiness_150x150.jpeg</input>
<action>rm txt0.txt</action>
<action>echo $(eval rsstail -u newsrss.bbc.co.uk/rss/newsonline_uk_edition/business/rss.xml -1 -n 3)>txt0.txt</action>
<action>echo $txt0.txt</action>
<action>refresh:txt0</action>
</button>
</hbox>
<vbox scrollable="true" width="600" height="300">
<text wrap="false" xalign="0">
<variable>txt0</variable>
<label>This is a static text.</label>
<input file>txt0.txt</input>
</text>
</vbox>