Main Content

slreportgen.utils.pathJoin

Combine two diagram path parts

Description

example

diagrampath = slreportgen.utils.pathJoin(parent,name) combines the parent and name paths to create a full Simulink® diagram path. Any newlines are converted to spaces.

Examples

collapse all

slreportgen.utils.pathJoin("sf_car/transmission",...
   "transmission ratio")
ans = 
"sf_car/transmission/transmission ratio"

Input Arguments

collapse all

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

Diagram name, specified as a string or character array.

Output Arguments

collapse all

Full diagram path, returned as a string.

Version History

Introduced in R2018b