An alternative for strlength function for MATLAB 2013

3 views (last 30 days)
Hi, everyone,
Is there an alternative function of strlength for MATLAB 2013 or before (It was introducted in MATLAB 2016)?
Thanks,
Steve

Accepted Answer

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

More Answers (0)

Categories

Find more on Specialized Power Systems in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!