スタンドアプリケーションで、[カラーマップ エディターを開く]を​選択すると、エラーが​発生するのはなぜです​か?

2 views (last 30 days)
MathWorks Support Team
MathWorks Support Team on 14 Apr 2017
colormap 関数を含むプログラムを MATLAB Compiler でコンパイルし、スタンドアロン環境で実行しました。
問題なく、Figure やカラーマップは表示されましたが、カラーマップを右クリックし、[カラーマップ エディターを開く] を選択すると、以下のエラーが表示されます。
 
関数または変数 'colormapeditor' が未定義です。
エラー: matlab.graphics.illustration.ColorBar/doMethod>edit_colormap_cb
Menu Callback の実行中にエラーが発生
 

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 14 Apr 2017
一般に、MATLAB Compiler では、組み込みの GUI 機能のコンパイルをサポートしていません。
また、カラーマップのコンテキストメニューを非表示に設定することができません。
MATLAB Compiler がサポートする機能については、以下の URL をご参照ください。
・MATLAB Compiler: Support for MATLAB and Toolboxes
https://jp.mathworks.com/products/compiler/supported/compiler_support.html
・MATLAB Compiler ヘルプドキュメント: サポートされていない MATLAB 関数
https://jp.mathworks.com/help//compiler/unsupported-functions.html
 

More Answers (0)

Products


Release

R2008b

Community Treasure Hunt

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

Start Hunting!