Skip to content

uihtml

gui · scripts/gui/uihtml.m

UIHTML  Create an HTML UI component.

  H = UIHTML creates an HTML UI component in a new figure and returns the
  HTML component object.  MATLAB / Nexus calls UIFIGURE to create the
  figure when no parent is given.

  H = UIHTML(PARENT) creates the component in PARENT (a figure or child
  container).

  H = UIHTML(___, Name, Value) sets HTML component properties.  Documented
  properties include HTMLSource, Data, DataChangedFcn, and Position.

  The returned object is of class matlab.ui.control.HTML with Type
  'uihtml'.  Defaults match MATLAB R2026a:
    HTMLSource       ''
    Data             []
    DataChangedFcn   []
    Position         [100 100 100 100]

  See also uifigure, matlab.ui.control.HTML.