Info
This question is closed. Reopen it to edit or answer.
Excel のtableにラベルし、Tiff ファイルとして保存
    2 views (last 30 days)
  
       Show older comments
    
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 Comment
  Kei Otsuka
    
 on 23 Jul 2020
				今お使いのMATLABバージョンを教えて頂けますか?
addStyleはR2019b以降でサポートされていますので、古いバージョンですと利用することができません。
Answers (0)
This question is closed.
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
