text2bitseq not found

조회 수: 5 (최근 30일)
Javi Jap
Javi Jap 2018년 8월 27일
댓글: OCDER 2018년 8월 27일
I am trying to use the function 'text2bitseq' that I've seen in some code from a "From signals to packets" course but I am getting an error saying that that function is undefined. First I thought that I did not have some needed toolkit installed but I have searched for it in the Matlab documentation page and I haven't found anything about it, but the guy from the course uses it all the time.
Is just a function that is now deprecated? if so, what should I use instead. If not, what am I missing?
Thanks

채택된 답변

Shannon Cherry
Shannon Cherry 2018년 8월 27일
편집: Shannon Cherry 2018년 8월 27일
text2bit is not a matlab command, you need to write a separate function to convert a text/string into binary data and call this function wherever required. You can refer to this link if it helps.
https://de.mathworks.com/matlabcentral/answers/305999-how-to-convert-a-string-to-binary-and-then-from-the-binary-back-to-string

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 MATLAB에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by