Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
MatlabでExcelファイルのセルから特定の文字を読み込みたい。私は次のことを行いました: [num2,A] = xlsread( xlsfile, 2 );
ここで、A = 'r 1.0'
しかし、A の形式が「文字列」型と一致しないため、Maltab の文字列関数を使用して作業を続けることができません。
それで、Excelのセルから読み取ったものをMatlabの文字列型に変換する方法はありますか?
どうもありがとう、ベザド
A は文字列のセル配列であるため、次のようにしてその内容にアクセスする必要があります{ }。
{ }
B = A{1} whos B