利用可能なフォントの表示

4 views (last 30 days)
竣 齊藤
竣 齊藤 on 22 Jan 2022
Commented: 竣 齊藤 on 26 Jan 2022
MATLABで利用可能なフォントを表示したいと思っています。
d = listfonts;
上記のプログラムを使用したところ、エラーが出てしまいました。
今回ご教授して頂きたい点は、上記エラーの解決方法です。
ご教授の程よろしくお願いいたします。

Accepted Answer

Atsushi Ueno
Atsushi Ueno on 22 Jan 2022
パスの効いたフォルダにファイルlistfonts.mがある為エラーが出ます。
ファイル名を変更すればlistfontsが実行できます。
save('listfonts.m'); ls
listfonts.m
d = listfonts;
Execution of script listfonts as a function is not supported:
/users/mss.system.15If39/listfonts.m
movefile listfonts.m my_listfonts.m
d = listfonts;
  1 Comment
竣 齊藤
竣 齊藤 on 26 Jan 2022
ご教授して頂きありがとうございます。

Sign in to comment.

More Answers (0)

Categories

Find more on MATLAB 入門 in Help Center and File Exchange

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!