When i run this code i get error using dec2bin (too many input arguments).
조회 수: 13 (최근 30일)
이전 댓글 표시
Text='hi' ; A=dec2bin(text, 8);
댓글 수: 0
답변 (1개)
James Tursa
2020년 2월 3일
편집: James Tursa
2020년 2월 3일
MATLAB is case sensitive. Text (uppercase T) is different from text (lowercase t).
In the future, please post the complete error message and the offending line rather than writing your own summary of the error. It is hard for us to advise unless we know what the error message actually says. I don't get the same error as you do when I run your posted code, for instance.
댓글 수: 4
James Tursa
2020년 2월 3일
편집: James Tursa
2020년 2월 3일
I mean, type that into the command line and what is the result. I'm trying to figure out if you have shadowed MATLAB's dec2bin function.
참고 항목
카테고리
Help Center 및 File Exchange에서 Data Type Conversion에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!