matlabcustomizationmatlab-guiundocumented-behaviormatlab-app-designer

How to customize the background of an App Designer figure?


I'd like to attach a logo or change the whole background of an App Designer uifigure. How can this be done?


Solution

  • Notes:

    1. The last two examples are based on these two posts: 1, 2, and the principle of operation is adding a background-image: "..." entry to the style property of some desired UI element (which happens to be an HTML div).

    2. A tool for programmatic manipulation of App Designer figures can be found in this GitHub repository.

    3. The example image happens to be an .svg, which is interesting, because we can export "regular" MATLAB figures in this format, and later use them as backgrounds for a uifigure :)