image processing tools

1 次查看(过去 30 天)
hello guys, im currently doing project about steganography.. my question is im trying to make interface for my project, i already got .m file and it run ok with no error. the problem is im trying to change .m file to .fig file. i got an error say
varargin{1} = gui_State.gui_Callback;
if nargout[varargout{1:nargout}] = feval(varargin{:});elsefeval(varargin{:})
help me please, its for my degree project

采纳的回答

Image Analyst
Image Analyst 2012-5-17
Try using GUIDE. There are video tutorials on it in Doug Hull's video tutorial blog area of the Mathworks' web site.

更多回答(2 个)

Casey
Casey 2012-5-17
I am not sure I understand, but a .fig file is a figure file. I don't see how you can run (or save) a mfile (.m) as a .fig. Are you trying to make a GUI?

Walter Roberson
Walter Roberson 2012-5-17
You cannot use the "=" operator in an "if" expression. "=" is assignment, not comparison.
Square brackets cannot appear directly after a function or variable name. Square brackets are not used for indexing or for arithmetic grouping: they are only used for vector and array construction.

类别

Help CenterFile Exchange 中查找有关 Printing and Saving 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by