String vector inside structure not read in Matlab R2014b

9 ビュー (過去 30 日間)
Elisa Lancini
Elisa Lancini 2019 年 10 月 2 日
回答済み: the cyclist 2019 年 10 月 2 日
Dear all,
I have a problem with a .mat file generated with Matlab 2018.
Besides other variables, it contains a structure with a string vector , which results empty [] when the .mat file is loaded on Matalb r2014b , but is read correctly by Matlab 2018.
The string vector has no empty values.
I would appreciate any idea on how to fix this problem
  1 件のコメント
Stephen23
Stephen23 2019 年 10 月 2 日
"I would appreciate any idea on how to fix this problem "
Strings were introduced in MATLAB R2016b. They are not supported on earlier versions.
If you must use an earlier version, then the solution is don't use strings.

サインインしてコメントする。

採用された回答

the cyclist
the cyclist 2019 年 10 月 2 日
Strings were introduced into MATLAB in version R2016b, so I think you might need to convert those to a different type of object to work with it in R2014b.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeCharacters and Strings についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by