An alternative for strlength function for MATLAB 2013

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 日

1 投票

There were no string data types back then, only char vectors, so you could just use length() or numel().

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeCall C from MATLAB についてさらに検索

タグ

質問済み:

2023 年 6 月 23 日

編集済み:

2023 年 6 月 23 日

Community Treasure Hunt

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

Start Hunting!

Translated by