Discussion:
Convert binary vector value to hexadecimal
(too old to reply)
sam
2013-05-04 16:07:09 UTC
Permalink
Hello every one, I have MATLAB 2010a , when I try to Convert binary vector value to hexadecimal by using this command "binaryVectorToHex([0 0 1 1 1 1 0 1])" . I get this error .. please any one have solution this error.

Is this function "binaryVectorToHex" , just available in MATALB 2013a ?

Thank you..

the example:


aa=binaryVectorToHex([0 0 1 1 1 1 0 1])
??? Undefined variable "daq" or class "daq.ConversionUtility".

Error in ==> binaryVectorToHex at 33
conversionUtility = daq.ConversionUtility;

-------------------------
Jiao
2013-12-11 23:17:06 UTC
Permalink
I think it's available in R2013b version. I have R2013a, there's no such function.
Post by sam
Hello every one, I have MATLAB 2010a , when I try to Convert binary vector value to hexadecimal by using this command "binaryVectorToHex([0 0 1 1 1 1 0 1])" . I get this error .. please any one have solution this error.
Is this function "binaryVectorToHex" , just available in MATALB 2013a ?
Thank you..
aa=binaryVectorToHex([0 0 1 1 1 1 0 1])
??? Undefined variable "daq" or class "daq.ConversionUtility".
Error in ==> binaryVectorToHex at 33
conversionUtility = daq.ConversionUtility;
-------------------------
ade77
2013-12-12 01:07:06 UTC
Permalink
at least it is available in 2013a.
I just confirmed that
Steven Lord
2013-12-12 16:24:37 UTC
Permalink
Post by Jiao
I think it's available in R2013b version. I have R2013a, there's no such function.
Post by sam
Hello every one, I have MATLAB 2010a , when I try to Convert binary
vector value to hexadecimal by using this command "binaryVectorToHex([0 0
1 1 1 1 0 1])" . I get this error .. please any one have solution this
error. Is this function "binaryVectorToHex" , just available in MATALB
2013a ?
It is part of Data Acquisition Toolbox:

http://www.mathworks.com/help/daq/ref/binaryvectortohex.html

I believe it was introduced in release R2012b.

http://www.mathworks.com/help/releases/R2012b/daq/ref/binaryvectortohex.html
--
Steve Lord
***@mathworks.com
To contact Technical Support use the Contact Us link on
http://www.mathworks.com
Loading...