一般に、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