R2021aで「スクリプト sphere を関数として実行することはサポートされていません:」と出る理由はどうして?
51 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
現在MATLAB Online(評価版)をしようしてコードを作成中なのですが
6月7日から突然sphere関数を使う事が出来なくなってしまいました。
調べてみると6月6日にアップデートがあったような感じです。
なにか原因をご存じの方、ご教授お願い致します。
sphere
axis equal
上記のような簡単なコードでもダメでした。
0 Kommentare
Akzeptierte Antwort
Kojiro Saito
am 8 Jun. 2021
MATLABの検索パスにsphere.mという別のファイルが存在して、そちらが呼び出されてしまっているようです。
which sphere -all
を実行していただけますか?
結果が
/MATLAB/toolbox/matlab/specgraph/sphere.m
だけでしたら問題ありませんが、他のパスのsphere.mがヒットすると思われます。
その場合、「/MATLAB/toolbox/matlab/specgraph/sphere.m」では無いsphere.mをshere_old.mなどのファイル名に名前変更してみてください。
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu インストールとライセンスの紹介 finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!