I purchased the Matlab & Simulink Student Version and Data Acquisition Toolbox to collect force plate data. And I installed the latest version of the DAQ Adaptor for Matlab on my computer. But I cannot register the adaptor on the Matlab.
The issue appeared to be with the path of the adapter. The path was being read wrong and thus, dtol.dll could not be found. To workaround this issue, I gave it a try the following website that I had got from a technical support engineer of MathWorks.
But, it is still not working as showing 'Unable to load adaptor: C:\Program Files\MATLAB\R2010a Student\toolbox\daq\daq\private\DAQ Adaptor for MATLAB\Dtol.dll.'
I think it is not a path issue. I am using a Windows Vista.

 Akzeptierte Antwort

Chirag Gupta
Chirag Gupta am 19 Apr. 2011

0 Stimmen

Try shutting down Matlab and restarting it in admin mode. You can do this in Visa by right clicking on the Matlab icon and choosing Run/Start in admin mode.
Then try the daqregister command again.

7 Kommentare

Sangwoo
Sangwoo am 19 Apr. 2011
Thank you for quick response.
I restarted it by right clicking on the matlab and choosing Run/Start in admin mode. But it is still not working..
Chirag Gupta
Chirag Gupta am 19 Apr. 2011
What error are you getting? Is it the same?
Try running daqhwinfo and see what is returns
Sangwoo
Sangwoo am 19 Apr. 2011
This is an error. It is the same..
EDU>> daqregister('dtol.dll')
ans =
Unable to load adaptor: C:\Program Files\MATLAB\R2010a Student\toolbox\daq\daq\private\DAQ Adaptor for MATLAB\Dtol.dll.
EDU>> daqhwinfo('dtol')
??? Error using ==> daqhwinfo at 115
Failure to find requested data acquisition device: dtol.
Thank you!!
Chirag Gupta
Chirag Gupta am 19 Apr. 2011
Are you trying to register from the same directory where dtol.dll is present?
cd('C:\Program Files\Data Translation\DAQ Adapter for Matlab')
daqregister('Dtol.dll')
According to the pdf, you've posted above.
Sangwoo
Sangwoo am 19 Apr. 2011
Yes!! I tried to register it from the same directory where dtol.dll is.
Is is matter of Windows Vista??
Chirag Gupta
Chirag Gupta am 19 Apr. 2011
Can you try actually copying the DLL and the related file to the : 'C:\Program Files\MATLAB\R2010a Student\toolbox\daq\daq\private\DAQ Adaptor for MATLAB\' folder and then try to register the DLL.
I doubt its a Win Vista issue, if you have admin privs and you are running Matlab in admin mode.
Sangwoo
Sangwoo am 19 Apr. 2011
Anyway, thank you very much!

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (1)

Walter Roberson
Walter Roberson am 19 Apr. 2011

0 Stimmen

Are you using the 64 bit version of MATLAB or the 32 bit version? I suspect that .dll might only be usable with the 32 bit version.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by