Main Content

slreportgen.utils.pathSplit

Split diagram path into array of diagram parts

Description

parts = slreportgen.utils.pathSplit(diagrampath) splits the input Simulink® diagram path into a string array of diagram names.

example

Examples

collapse all

parts = slreportgen.utils.pathSplit...
   ("sf_car/transmission/transmission ratio")
parts = 1x3 string
    "sf_car"    "transmission"    "transmission ratio"

Input Arguments

collapse all

Full diagram path, specified as a string or character array.

Output Arguments

collapse all

Diagram path parts, returned as a string array.

Version History

Introduced in R2018b