WSMLink`
WSMLink`

WSMClearPlot

WSMClearPlot is being phased out in favor of SystemModel, which was introduced experimentally in Version 11.3.

WSMClearPlot["mmodel","plot"]

deletes plot from mmodel.

Details and Options

  • The shortest unique model name mmodel can be used where WSMNames["*.mmodel"] gives a unique match.

Examples

open allclose all

Basic Examples  (2)

Load Wolfram System Modeler Link:

Show the plots in a model:

Delete a plot:

The plot is not present in the model anymore:

Properties & Relations  (2)

Use WSMSetPlot to create new plots or change plot contents:

Simulate and show the created plot:

Rename plots using WSMSetPlot:

Store a plot that will then be renamed:

WSMSetPlot can rename the plot but keep the contents:

Simulate and show the renamed plot:

Possible Issues  (1)

Models are not saved unless explicitly saved in System Modeler Model Center:

Delete a plot:

After quitting the Wolfram Language kernel and System Modeler, the copied model is gone: