text2bitseq not found

6 visualizzazioni (ultimi 30 giorni)
Javi Jap
Javi Jap il 27 Ago 2018
Commentato: OCDER il 27 Ago 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

Risposta accettata

Shannon Cherry
Shannon Cherry il 27 Ago 2018
Modificato: Shannon Cherry il 27 Ago 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

Più risposte (0)

Categorie

Scopri di più su MATLAB in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by