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..

サインインしてコメントする。

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by