Filter löschen
Filter löschen

An alternative for strlength function for MATLAB 2013

3 Ansichten (letzte 30 Tage)
Steve Hui
Steve Hui am 23 Jun. 2023
Bearbeitet: Matt J am 23 Jun. 2023
Hi, everyone,
Is there an alternative function of strlength for MATLAB 2013 or before (It was introducted in MATLAB 2016)?
Thanks,
Steve

Akzeptierte Antwort

Matt J
Matt J am 23 Jun. 2023
Bearbeitet: Matt J am 23 Jun. 2023
There were no string data types back then, only char vectors, so you could just use length() or numel().

Weitere Antworten (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by