How to save a specific field from struct as mat file
27 ビュー (過去 30 日間)
古いコメントを表示
A.a = 1;
A.b = 2 ;
A.c = 3;
save('new_c', 'A.c')
In Line 4 I'm getting the floowing error:
Error using save
'A.c' is not a valid variable name.
How to do this. Please help.
0 件のコメント
採用された回答
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Structures についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!