Hello Mathworks Team, how can I add an icon to an sl_action_schema in sl_customization? This is what I tried so far:
function schema = getItemMyEntry(callbackInfo) schema = sl_action_schema; schema.label = 'MyEntry'; schema.icon = 'MyIcon.png'; schema.callback = @myEntryCallback;end
The entry appears in the Simulink menu, but without an icon. I tried icons of size 16×16 and 24×24 with relative and absolute path. Tried only png so far (for example the help16x16.png file from the MATLAB installation folders).
Best Answer