delete(sobj) deletes the SimBiology object
sobj and removes it from its parent object.
Note
You can also use sbioreset to delete all model objects
from the SimBiology root object, which contains a list of model objects, available
units, unit prefixes, and kinetic laws.
Object, specified as a SimBiology object or array of SimBiology objects.
If sobj is a model object, the model is deleted from the
root object. delete removes all references to the model at the
command line and in the SimBiology and SimBiology Model
Analyzer apps.
If sobj is a species object used by a reaction object,
the function issues a warning, and the species object is not deleted. You need to
delete the reaction or remove the species from the reaction before you can delete
the species object.
If sobj is a parameter object used by a kinetic law
object, there is no warning when the object is deleted. However, when you try to
simulate your model, an error occurs because the parameter cannot be found.
If sobj is a reaction object, the function deletes the
object, but the species objects that were being used by the reaction object are
not deleted.
If sobj is an abstract kinetic law object and there is a
kinetic law object referencing it, the function returns an error.
If sobj is a configuration set object, and it is the
active configuration set object, the function, after deleting the object, makes
the default configuration set object active. Note that you cannot delete the
default configuration set.
You cannot delete the SimBiology root object or a
SimData object.
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window.
Web browsers do not support MATLAB commands.
Seleziona un sito web
Seleziona un sito web per visualizzare contenuto tradotto dove disponibile e vedere eventi e offerte locali. In base alla tua area geografica, ti consigliamo di selezionare: .
Puoi anche selezionare un sito web dal seguente elenco:
Come ottenere le migliori prestazioni del sito
Per ottenere le migliori prestazioni del sito, seleziona il sito cinese (in cinese o in inglese). I siti MathWorks per gli altri paesi non sono ottimizzati per essere visitati dalla tua area geografica.