textscan to parse string
Mostra commenti meno recenti
Hello,
I am trying to use textscan to parse an IP address to get 4 integers:
str = '48.2.81.56'
integers = textscan(str,'%u8',4, 'Delimiter', '.');
Why is this is not working correctly?
Thank you.
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Characters and Strings in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!