Info
Questa domanda è chiusa. Riaprila per modificarla o per rispondere.
Excel のtableにラベルし、Tiff ファイルとして保存
    2 visualizzazioni (ultimi 30 giorni)
  
       Mostra commenti meno recenti
    
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 Commento
  Kei Otsuka
    
 il 23 Lug 2020
				今お使いのMATLABバージョンを教えて頂けますか?
addStyleはR2019b以降でサポートされていますので、古いバージョンですと利用することができません。
Risposte (0)
Questa domanda è chiusa.
Vedere anche
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
