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.

 채택된 답변

Chirag Gupta
Chirag Gupta 2011년 4월 19일

0 개 추천

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

Sangwoo
Sangwoo 2011년 4월 19일
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 2011년 4월 19일
What error are you getting? Is it the same?
Try running daqhwinfo and see what is returns
Sangwoo
Sangwoo 2011년 4월 19일
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 2011년 4월 19일
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 2011년 4월 19일
Yes!! I tried to register it from the same directory where dtol.dll is.
Is is matter of Windows Vista??
Chirag Gupta
Chirag Gupta 2011년 4월 19일
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 2011년 4월 19일
Anyway, thank you very much!

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Walter Roberson
Walter Roberson 2011년 4월 19일

0 개 추천

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.

댓글 수: 1

Sangwoo
Sangwoo 2011년 4월 19일
It is the 32 bit version..

댓글을 달려면 로그인하십시오.

태그

질문:

2011년 4월 19일

Community Treasure Hunt

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

Start Hunting!

Translated by