Clear Filters
Clear Filters

text2bitseq not found

2 views (last 30 days)
Javi Jap
Javi Jap on 27 Aug 2018
Commented: OCDER on 27 Aug 2018
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

Accepted Answer

Shannon Cherry
Shannon Cherry on 27 Aug 2018
Edited: Shannon Cherry on 27 Aug 2018
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

More Answers (0)

Categories

Find more on Introduction to Installation and Licensing 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!