Too many input arguments

  • Follow


Hi to all,

I have tried to open an image using icalab. I have saved my file .mat(contents a series of images) on desktop. First of all I open icalab toolbox(in this phase I haven't any problem), after I tried to LOAD an image but in command window I have following error:

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

Error in ==> E:\Documents and
Settings\Fabio\Desktop\icalab2d\ICALABIPv2_0\imselect.p>imselect at
46


Error in ==> E:\Documents and
Settings\Fabio\Desktop\icalab2d\ICALABIPv2_0\readimage.p>readimage
at 38

 
??? Error while evaluating uicontrol Callback

I tried matlab 2008b and matlab 2010a but I have same results.

please help me!!!

thanks to all in 
0
Reply fabiofiato 6/9/2010 3:10:39 PM

fabiofiato wrote:

> I have tried to open an image using icalab. I have saved my file 
> .mat(contents a series of images) on desktop. First of all I open icalab 
> toolbox(in this phase I haven't any problem), after I tried to LOAD an 
> image but in command window I have following error:
> 
> ??? Error using ==> cd
> Too many input arguments.
> 
> Error in ==> E:\Documents and
> Settings\Fabio\Desktop\icalab2d\ICALABIPv2_0\imselect.p>imselect at
> 46

We would need to see that line. I would guess it is something like

   cd E:\Documents and Settings\Fabio\Desktop\icalab2d\ICALABIPv2_0

which is not valid because of the spaces, and would have to be

   cd('E:\Documents and Settings\Fabio\Desktop\icalab2d\ICALABIPv2_0');
0
Reply Walter 6/9/2010 3:23:21 PM


Hi,
thanks for the answer but I have tried using:

cd('E:\Documents and Settings\Fabio\Desktop\icalab2d\ICALABIPv2_0');

The results was be the same. Also I would like to see the line:

imselect.p>imselect at 46

and

readimage.p>readimage at 38

 
??? Error while evaluating uicontrol Callback

but it isn't possible...I don't Know the problem...

Any suggestion?

thanks in advance
0
Reply fabiofiato 6/9/2010 3:37:05 PM

"fabiofiato " <fabio.fiato@hotmail.it> wrote in message 
news:huoatf$1a0$1@fred.mathworks.com...
> Hi to all,
>
> I have tried to open an image using icalab. I have saved my file 
> .mat(contents a series of images) on desktop. First of all I open icalab 
> toolbox(in this phase I haven't any problem), after I tried to LOAD an 
> image but in command window I have following error:
>
> ??? Error using ==> cd
> Too many input arguments.

Make sure you're using the version of the CD function that is included with 
MATLAB.  What is the output of the following command?

which -all cd

If this shows a function that you wrote that is named cd, rename or remove 
that function and try running the code again.

-- 
Steve Lord
slord@mathworks.com
comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ
To contact Technical Support use the Contact Us link on 
http://www.mathworks.com 


0
Reply slord (13361) 6/9/2010 3:52:10 PM

fabiofiato wrote:

> thanks for the answer but I have tried using:
> 
> cd('E:\Documents and Settings\Fabio\Desktop\icalab2d\ICALABIPv2_0');
> 
> The results was be the same.

That was an example of coding a cd call correctly when there are spaces 
in the name.


 > Also I would like to see the line:
> 
> imselect.p>imselect at 46
> 
> and
> 
> readimage.p>readimage at 38
> 
> 
> ??? Error while evaluating uicontrol Callback
> 
> but it isn't possible...I don't Know the problem...

Ah, I didn't notice before that it was a .p file; you cannot see the 
source of .p files. You _might_ be able to use

dbstop if error

and then possibly might be able to use

whos

to find variable names in the .p file and explore their values, but you 
will not be able to see or change the actual source, just infer it.

The work around I would try for the moment would be to install into a 
directory location that does not have any spaces in the name; that could 
keep you going while you report the problem to the people who made ICalLab
0
Reply Walter 6/9/2010 4:02:25 PM

I tried your tip...this is the results:

>> which -all cd

built-in (E:\Programmi\MATLAB\R2010a\toolbox\matlab\general\cd)

E:\Programmi\MATLAB\R2010a\toolbox\matlab\iofun\@ftp\cd.m                      % ftp method

E:\Programmi\MATLAB\R2010a\toolbox\idelink\extensions\adivdsp\@vdspdebug\cd.m  % vdspdebug method

E:\Programmi\MATLAB\R2010a\toolbox\idelink\extensions\ghsmulti\@ghsmulti\cd.m  % ghsmulti method

E:\Programmi\MATLAB\R2010a\toolbox\idelink\extensions\ticcs\@ccsdebug\cd.m     % ccsdebug method

What's the meaning for :the version of the CD function tha is included in matlab?

Do you think I created a function called CD?
"If this shows a function that you wrote that is named cd, rename or remove
that function and try running the code again."

Now, What do I do?
0
Reply fabiofiato 6/9/2010 4:04:08 PM

"fabiofiato " <fabio.fiato@hotmail.it> wrote in message 
news:huoe1o$2gg$1@fred.mathworks.com...
>I tried your tip...this is the results:
>
>>> which -all cd
>
> built-in (E:\Programmi\MATLAB\R2010a\toolbox\matlab\general\cd)
>
> E:\Programmi\MATLAB\R2010a\toolbox\matlab\iofun\@ftp\cd.m 
> % ftp method
>
> E:\Programmi\MATLAB\R2010a\toolbox\idelink\extensions\adivdsp\@vdspdebug\cd.m 
> % vdspdebug method
>
> E:\Programmi\MATLAB\R2010a\toolbox\idelink\extensions\ghsmulti\@ghsmulti\cd.m 
> % ghsmulti method
>
> E:\Programmi\MATLAB\R2010a\toolbox\idelink\extensions\ticcs\@ccsdebug\cd.m 
> % ccsdebug method
>
> What's the meaning for :the version of the CD function tha is included in 
> matlab?
>
> Do you think I created a function called CD?

No, that's the list I would expect to see.

> Now, What do I do?

I would probably contact the authors of ICALAB and ask them to help you 
diagnose the problem.

-- 
Steve Lord
slord@mathworks.com
comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ
To contact Technical Support use the Contact Us link on 
http://www.mathworks.com 


0
Reply slord (13361) 6/9/2010 5:17:30 PM

Hi Walter

thanks a lot for your tip, but every attempts was unsuccessful. Now I have the same problem yet. I sent an e-mail to Icalab(icalab@bsp.brain.riken.go.jp). They haven't reply to my e-mail. I hope a quick solution. I hope you still have advice for me..

thanks so much
0
Reply fabiofiato 6/9/2010 5:40:26 PM

Hi steven,

I hope you still have advice for me. Thanks for your tip and I hope who made Icalab reply your message. 
Have you already sent the message to Icalab?

thanks a lot

fabio
0
Reply fabiofiato 6/9/2010 5:44:23 PM

Hi to all,
Nobody from Icalab had a solution for my problem. I had word with another pc to complete my works. Only thing I think is that there was a conflict with a board between my pc and the software..

thanks a lot
0
Reply fabiofiato 6/22/2010 4:43:22 PM

9 Replies
996 Views

(page loaded in 0.003 seconds)

Similiar Articles:













7/22/2012 10:00:12 PM


Reply: