Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
Too many input arguments

Subject: Too many input arguments

From: pink

Date: 10 Jun, 2011 21:42:04

Message: 1 of 8

I made ​​a gui application, but when I open the application contained errors?
whether the cause and how to fix it?

??? Error using ==> main
Too many input arguments.

Error in ==>
@(hObject,eventdata)main('nocomb_CreateFcn',hObject,eventdata,guidata(hObject))

??? Error using ==> struct2handle
Error while evaluating uicontrol CreateFcn
thanks

Subject: Too many input arguments

From: ImageAnalyst

Date: 10 Jun, 2011 22:38:58

Message: 2 of 8

Did you use GUIDE? Or did you "roll your own"?

The way to fix it is to use the debugger.

Subject: Too many input arguments

From: pink

Date: 10 Jun, 2011 23:14:05

Message: 3 of 8

ImageAnalyst <imageanalyst@mailinator.com> wrote in message <2067d383-7792-4a82-8d87-55be54b3545b@g12g2000yqd.googlegroups.com>...
> Did you use GUIDE? Or did you "roll your own"?
>
> The way to fix it is to use the debugger.

I use the GUI
yes, when I just open the file, but when I move the "Current Folder" to the file, not an error. whether the cause? does not have an influence on later compiled?

Subject: Too many input arguments

From: ImageAnalyst

Date: 10 Jun, 2011 23:27:48

Message: 4 of 8

Yes, I know you are using a GUI, but how did you create it? Did you
use GUIDE, or did you create it yourself using various uicontrol()
calls?

Have you learned how to use the debugger yet?

Subject: Too many input arguments

From: pink

Date: 11 Jun, 2011 00:11:05

Message: 5 of 8

ImageAnalyst <imageanalyst@mailinator.com> wrote in message <6df70014-389a-487a-bfa9-a544a6bb4c63@28g2000yqu.googlegroups.com>...
> Yes, I know you are using a GUI, but how did you create it? Did you
> use GUIDE, or did you create it yourself using various uicontrol()
> calls?
>
> Have you learned how to use the debugger yet?

yes, I use the guide to make calls
I do not know the usage debuger

Subject: Too many input arguments

From: ImageAnalyst

Date: 11 Jun, 2011 03:05:22

Message: 6 of 8

On Jun 10, 8:11 pm, "pink " <wahyoe_slip...@yahoo.co.id> wrote:
> I do not know the usage debuger
---------------------------------------------------------------
Well then you need to learn. You can't really do anything in MATLAB
if you don't know how to set breakpoints, single step through
statements, and inspect variables.

Subject: Too many input arguments

From: pink

Date: 11 Jun, 2011 07:09:04

Message: 7 of 8

ImageAnalyst <imageanalyst@mailinator.com> wrote in message <07f02259-1dd5-4511-be1a-b15db79f827b@w10g2000yqh.googlegroups.com>...
> On Jun 10, 8:11 pm, "pink " <wahyoe_slip...@yahoo.co.id> wrote:
> > I do not know the usage debuger
> ---------------------------------------------------------------
> Well then you need to learn. You can't really do anything in MATLAB
> if you don't know how to set breakpoints, single step through
> statements, and inspect variables.

My problem only when opening the matlab file, whether the file is opened must be in accordance with the "currrent folder" on the form matlab

Subject: Too many input arguments

From: ImageAnalyst

Date: 11 Jun, 2011 13:48:13

Message: 8 of 8

On Jun 11, 3:09 am, "pink " <wahyoe_slip...@yahoo.co.id> wrote:
> My problem only when opening the matlab file, whether the file is opened must be in accordance with the "currrent folder" on the form matlab
-----------------------------------------------------------------------
I'm not exactly sure what that means, but if you're trying to open any
file, and you (foolishly) don't specify the full path (folder plus
base filename) then the file must live in the "current folder" or in
one of the folders on the search path.

Tags for this Thread

No tags are associated with this thread.

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us