Link and anchor in embedded Web view report
creates a two-way connection between a Simulink® Web view diagram and a DOM object in an embedded Web view Document panel.
diag2link = createDiagramTwoWayLink(
diag2link DOM object is updated to include attributes that
identifies it as a link. The
diag2link DOM object is of the same
domlabel or if
domlabel is a string,
mlreportgen.DOM.Text object is created.
Create a two-way connection between a level 2 heading in the center text pane and a diagram in the Web view. This creates both a link and an anchor.
diagramHeading = createDiagramTwoWayLink(h,diagramPath, ... mlreportgen.dom.Heading(2,['Diagram: ' diagramPath]));
Diagram refers to a Simulink model, subsystem, or Stateflow® chart.
Element refers to an individual item within a diagram, such as a block, annotation, state, or transition.