我做的gui根本编译不出来,<BR>我查了帮助,里面列出了限制<BR>1Script M-files <BR>2M-files that use objects <BR>3Calls to the MATLAB Java interface <BR>4M-files that use input or eval to manipulate workspace variables<BR>5M-files that use exist with two input arguments, for example: exist('foo','var')<BR>6M-files that dynamically name variables to be loaded or saved.<BR> This example is disallowed by the Compiler: x= 'f';load('foo.mat',x);<BR>7M-files that load text files, for example: load -ascii sampling1<BR>我觉得是第二个限制,不知道对不对?<BR>