is being phased out in favor of DeleteObject
deletes the model mmodel.
deletes multiple models mmodeli.
- The mmodel refers to the fully qualified Modelica names.
- Names can be given as strings or as DotName.
- WSMDeleteModel returns Null if it succeeds and $Failed if it fails.
- The shortest unique model name mmodel can be used where WSMNames["*.mmodel"] gives a unique match.
Basic Examples (3)
Load Wolfram SystemModeler Link:
Copy a model from the DocumentationExamples library to a new place:
The model was created:
Delete the new model:
The model was deleted:
Copy a package to a new place:
Retrieve the names inside the package:
Delete all the models inside the package:
All the models inside the package are gone: