image processing tools

9 Ansichten (letzte 30 Tage)
ahmed avicii
ahmed avicii am 16 Mai 2012
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

Akzeptierte Antwort

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

Weitere Antworten (2)

Casey
Casey am 17 Mai 2012
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 am 17 Mai 2012
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.

Kategorien

Mehr zu Printing and Saving finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by