categorical配列から文字を取得する

サンプルにある深層学習を使用したイメージ カテゴリの分類 https://jp.mathworks.com/help/vision/examples/image-category-classification-using-deep-learning.htmlにある「新たに学習した分類器のテスト イメージでの試用」の部分で分類した結果が"label"に格納されていると思うのですが、格納されている結果を変数に代入したいのですがどうすればよいでしょうか。サンプルで言うと分類結果"airplanes"を変数に入れたいです。

Answers (1)

yuri takahashi
yuri takahashi on 23 Jan 2018

1 vote

charを使ってchar(label)と記載したら解決しました。

Categories

Products

Tags

Asked:

on 23 Jan 2018

Edited:

on 23 Jan 2018

Community Treasure Hunt

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

Start Hunting!