WSMLink`
WSMLink`
WSMConnectComponentsString
WSMConnectComponentsString is being phased out in favor of ConnectSystemModelComponents, which was introduced experimentally in Version 11.3.
WSMConnectComponentsString["newmodel",{"c1"∈"comp1",…},{"c1.a"->"c2.b",…}]
creates a string with the Modelica model "newmodel" by connecting connector a of component c1 with connector b of component c2 etc.
Details
- WSMConnectComponentsString takes the same arguments and options as WSMConnectComponents.
- Instead of committing newmodel to the SystemModeler kernel, WSMConnectComponentsString returns a Modelica string representation.