From: Snow White on
Hello,

i have to convert some images taken by a Nikon D200 to jpegs. I have the code nefload for reading the images, it used to work fine but now when i execute it i get the following error:

??? Undefined function or method 'rawCamFileRead' for input arguments of type 'char'.

Error in ==> nefload at 16
[a,model]=rawCamFileRead(fname);

although the folder contains the file: rawCamFileRead.dll

when i do which -all rawCamFileRead i dont get any results but i do for rawCamFileRead.dll.

could anyone help me with this?

bye
From: Lei on
"Snow White" <gulesaman(a)gmail.com> wrote in message <hrhrth$t11$1(a)fred.mathworks.com>...
> Hello,
>
> i have to convert some images taken by a Nikon D200 to jpegs. I have the code nefload for reading the images, it used to work fine but now when i execute it i get the following error:
>
> ??? Undefined function or method 'rawCamFileRead' for input arguments of type 'char'.
>
> Error in ==> nefload at 16
> [a,model]=rawCamFileRead(fname);
>
> although the folder contains the file: rawCamFileRead.dll
>
> when i do which -all rawCamFileRead i dont get any results but i do for rawCamFileRead.dll.
>
> could anyone help me with this?
>
> bye

Snow White,
If your file name includes blanks, just get rid of them. I think the warning message will disappear.

For example:
rawCamFileRead 1.m should be renamed as rawCamFileRead.m.

Hope this will be helpful for you.
Thank you!
Henry