From: fabiofiato on
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
From: Walter Roberson on
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');
From: fabiofiato on
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
From: Steven Lord on

"fabiofiato " <fabio.fiato(a)hotmail.it> wrote in message
news:huoatf$1a0$1(a)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(a)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


From: Walter Roberson on
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