Error while using dec2bin() : too many input arguments
2 views (last 30 days)
Show older comments
ANJANA KRISHNAN A
on 22 Feb 2017
Commented: ANJANA KRISHNAN A
on 27 Feb 2017
when i run this code:
M = 'Hello';
% Now encode:
Mbinlong = reshape(dec2bin(double(M),7).',[],1)
I get this error :
Error using dec2bin Too many input arguments.
why this happens? How can i resolve this error?
8 Comments
Accepted Answer
Walter Roberson
on 27 Feb 2017
You need to remove F:\MATLAB\RSA
from your MATLAB path. You can do that using pathtool
More Answers (0)
See Also
Categories
Find more on Data Type Conversion in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!