An alternative for strlength function for MATLAB 2013

조회 수: 3 (최근 30일)
Steve Hui
Steve Hui 2023년 6월 23일
편집: Matt J 2023년 6월 23일
Hi, everyone,
Is there an alternative function of strlength for MATLAB 2013 or before (It was introducted in MATLAB 2016)?
Thanks,
Steve

채택된 답변

Matt J
Matt J 2023년 6월 23일
편집: Matt J 2023년 6월 23일
There were no string data types back then, only char vectors, so you could just use length() or numel().

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Specialized Power Systems에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by