From: M M on
"Sherryl Radbil" <sherryl.radbil.dontspamme(a)mathworks.com> wrote in message <hoq43j$iah$1(a)fred.mathworks.com>...
> > I also tried to run the command daqregister but got an error in response:
> > >> daqregister('mcc')
> > ans =
> > Unable to load adaptor: C:\MATLAB\R2010a\toolbox\daq\daq\private\mwmcc.dll.
> > The specified procedure could not be found.
>
> Two things come to mind:
> 1. InstaCal version is not 5.89 or later; additional InstaCal API calls were added in R2009b that require upgrading to version 5.89
> 2. You need to be a Administrator on the PC when running daqregister; once daqregister has been run successfully by an admin you can log in as any user and run
>
> All the best,
> Sherryl

I, and thank you for your answer.

Unfortunately, I'm running InstaCal 6.01 (straight from MCC's website), so that's not the issue.

The user I'm running Matlab with IS an administrator. For good measure I tried running Matlab as the user 'Administrator', but got the same message when running daqregister.

>> daqregister('mcc')
ans =
Unable to load adaptor: C:\MATLAB\R2010a\toolbox\daq\daq\private\mwmcc.dll.
The specified procedure could not be found.
From: Sherryl Radbil on
Some additional thoughts:

If you had upgraded to Instacal 6.0.1 from an earlier release and the older version is still somewhere on your disk Data Acquisition Toolbox may be finding the older version.

"The specified procedure could not be found."
usually indicates the a dll is calling an API call that is not available.
Try using Dependency Walker to find out what the missing call is.
From: M M on
"Sherryl Radbil" <sherryl.radbil.dontspamme(a)mathworks.com> wrote in message <hovgnb$cj1$1(a)fred.mathworks.com>...
> Some additional thoughts:
>
> If you had upgraded to Instacal 6.0.1 from an earlier release and the older version is still somewhere on your disk Data Acquisition Toolbox may be finding the older version.
>
> "The specified procedure could not be found."
> usually indicates the a dll is calling an API call that is not available.
> Try using Dependency Walker to find out what the missing call is.

After much investigation, I discovered that the issue is caused by an other product installed on the system. This product actually includes an other MCC daq card than the one I'm trying to use with matlab. When I uninstall their software, matlab can access use the mcc device, when I reinstall the other product software, I lose the possibility to access mcc daqs in Matlab.

I'm guessing a DLL provided by the other product is interfering with matlab. However, it is only interfering with matlab. TracerDAQ, which is provided by mcc, can work fine while the other product software is installed.

Is there a way to force matlab to use a certain DLL or to see which DLL matlab is trying to access to figure out what to do to solve this issue?
From: David on
"M M" <matlab.20.diziet(a)spamgourmet.org> wrote in message <hpnl3u$kjc$1(a)fred.mathworks.com>...
> "Sherryl Radbil" <sherryl.radbil.dontspamme(a)mathworks.com> wrote in message <hovgnb$cj1$1(a)fred.mathworks.com>...
> > Some additional thoughts:
> >
> > If you had upgraded to Instacal 6.0.1 from an earlier release and the older version is still somewhere on your disk Data Acquisition Toolbox may be finding the older version.
> >
> > "The specified procedure could not be found."
> > usually indicates the a dll is calling an API call that is not available.
> > Try using Dependency Walker to find out what the missing call is.
>
> After much investigation, I discovered that the issue is caused by an other product installed on the system. This product actually includes an other MCC daq card than the one I'm trying to use with matlab. When I uninstall their software, matlab can access use the mcc device, when I reinstall the other product software, I lose the possibility to access mcc daqs in Matlab.
>
> I'm guessing a DLL provided by the other product is interfering with matlab. However, it is only interfering with matlab. TracerDAQ, which is provided by mcc, can work fine while the other product software is installed.
>
> Is there a way to force matlab to use a certain DLL or to see which DLL matlab is trying to access to figure out what to do to solve this issue?

Hi Manuel: I am having a similar problem to you, but do not know how to solve it yet. I am using MCC USB 1208-FS. What other program did you have? All I have is LabView.
From: M M on
> Hi Manuel: I am having a similar problem to you, but do not know how to solve it yet. > I am using MCC USB 1208-FS. What other program did you have? All I have is LabView.

The product that I use is an oxymetry monitor called PulseOx (http://www.starrlifesciences.com/smallanimal.html). It seems that this device includes an OEM mcc daq and that it causes trouble with matlab registering the mcc interface. Unfortunately, I have yet to find a solution to the problem.