How to start using the Data Acquisition Toolbox?

10 Ansichten (letzte 30 Tage)
Jameson Chen
Jameson Chen am 26 Sep. 2012
Kommentiert: jack feinberg am 14 Mär. 2018
I checked that the Data Acquisition Toolbox (DAT) exists in my matlab by using 'ver' and showing
MATLAB Version 7.10.0.499 (R2010a)
MATLAB License Number: XXXX57
Operating System: Microsoft Windows XP Version 5.1 (Build 2600: Service Pack 3)
Java VM Version: Java 1.6.0_12-b04 with Sun Microsystems Inc. Java HotSpot(TM) Client VM mixed mode
-------------------------------------------------------------------------------------
MATLAB Version 7.10 (R2010a)
Data Acquisition Toolbox Version 2.16 (R2010a)
Filter Design Toolbox Version 4.7 (R2010a)
Optimization Toolbox Version 5.0 (R2010a)
Signal Processing Toolbox Version 6.13 (R2010a)
Statistics Toolbox Version 7.3 (R2010a)
Wavelet Toolbox Version 4.5 (R2010a)
However, every functions of the Data Acquisition Toolbox does not work. For example, when I type 'daqhwinfo', the error message appear ??? Undefined function or variable 'daqhwinfo'.
I wondered if software is not well installed so the function does not exist. However, when I use ‘type daqhwinfo’, it does appear the code of the function ‘daqhwinfo’.
Similar situation also happens to other functions such as ‘analoginput’ and ‘daqregister.’
I have logged in to the windows as an administrator.
Is there anything wrong? Should I do something to activate my Data Acquisition Toolbox?
  2 Kommentare
Star Strider
Star Strider am 26 Sep. 2012
I suggest you type on the Command Line:
which daqhwinfo -all
That will tell you where it is so you can be sure it is in your MATLAB path.
Jameson Chen
Jameson Chen am 26 Sep. 2012
Thanks for your comment. Following your suggestion, I used 'which daqhwinfo -all' to know where daqhwinfo is and add the directory to the path. However, the result is the same.

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 26 Sep. 2012
You would get those errors if you do not have a license for the toolbox.
  11 Kommentare
Lahari Reddy
Lahari Reddy am 16 Feb. 2018
I have checked license for my DAQ using this license('test','data_aq_toolbox') and its giving me ans = 0. what should I do now?
jack feinberg
jack feinberg am 14 Mär. 2018
You misspelled it. Try this: license('test','data_acq_toolbox')

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (2)

Matt Fig
Matt Fig am 26 Sep. 2012
What does this return:
daq.getVendors
  3 Kommentare
Matt Fig
Matt Fig am 26 Sep. 2012
There should be no need to "activate" the DAQ toolbox if it is listed by ver. I would contact technical support from this point.
Jameson Chen
Jameson Chen am 26 Sep. 2012
Walter said maybe my toolbox is not licensed. Is it possible that the toolbox is not licensed even it is listed by ver? How could I check if it is licensed or not?

Melden Sie sich an, um zu kommentieren.


Gabriel Ortega Rosero
Gabriel Ortega Rosero am 7 Mai 2013
Did you fix the problem? Happens the same with me, when I type "ver" appear that I have the data aquicisition toolbox, but I can´t use this in simulink. Help!

Kategorien

Mehr zu Introduction to Installation and Licensing finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by