Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Excel のtableにラベル​し、Tiff ファイ​ルとして保存

조회 수: 1 (최근 30일)
Saito
Saito 2020년 7월 16일
마감: MATLAB Answer Bot 2021년 8월 20일
Excelの中の最大値をマークし、それをTableとしてTiffファイルに保存しようとしています。
例えば添付したデータを以下のように処理して行ってみたのですが
関数 'addStyle' (タイプ'matlab.ui.style.Style' の入力引数) が未定義です。
と表示され、出来ませんでした。
k=data;
fig=uifigure;
k=k(1:7,1:7);
unit=uitable(fig,'Data',k);
uit.Data = k;
p=max(MeanFiringdata);
P=max(p);
styleIndices =MeanFiringdata==P;
[row,col] = find(styleIndices);
s = uistyle('BackgroundColor','yellow');
addStyle(uit,s,'cell',[row,col]);
どうしたら良いでしょう?
  댓글 수: 1
Kei Otsuka
Kei Otsuka 2020년 7월 23일
今お使いのMATLABバージョンを教えて頂けますか?
addStyleはR2019b以降でサポートされていますので、古いバージョンですと利用することができません。

답변 (0개)

제품

Community Treasure Hunt

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

Start Hunting!