<P >在<FONT face="Times New Roman">GUI</FONT>用户界面设计中,我设计了<FONT face="Times New Roman">3</FONT>个<FONT face="Times New Roman">Toggle Button</FONT>按键<FONT face="Times New Roman">,</FONT></P>
<P >第<FONT face="Times New Roman">1</FONT>,<FONT face="Times New Roman">2</FONT>个按键的回调函数中分别用<FONT face="Times New Roman">[FileName1,PathName] = uigetfile('*.jpg','Select the M-file')</FONT>读入图像,图像名存在<FONT face="Times New Roman">FileName1</FONT>中。</P>
<P >第<FONT face="Times New Roman">3</FONT>个按键的作用在于按下的时候能够分别显示前面选中的<FONT face="Times New Roman">2</FONT>幅图片。</P>
<P >请问各位高手,如何把前面选中的文件名称传递到第<FONT face="Times New Roman">3</FONT>个函数中来。</P>