求求求 gui callback问题 (大家看看我的这个程序为什么出不来sin图)
<P>求助<BR>大家看看我的这个程序为什么出不来sin图<BR>h1=figure(1)<BR>set(h1,'position',,...<BR> 'color',,...<BR> 'name','guidm_8 push button',...<BR> 'numbertitle','off')<BR>j=uicontrol('position',,...<BR> 'style','pushbutton',...<BR> 'string','push here to plot sin(x)',...<BR> 'callback',...<BR>[<BR> 'h2=figure(2);x=0:0.1:10,plot(x,sin(x));,',...<BR> 'xlable("x"),ylable("y"),'...<BR> 'set(h2,"position",)'<BR>])</P> <P>callback的内容做为一个函数撒,这样应该可以吧!</P>回复:(shangdi14)求求求 gui callback问题 (大家...
双引号改成两个单引号
页:
[1]