delete
R2026bDelete SimBiology object
Syntax
Description
Examples
Load the G-protein model.
sbioloadproject('gprotein.sbproj');Get the model-scoped parameters.
params = m1.Parameters
params = SimBiology Parameter Array Index: Name: Value: Units: ParentModel: 1 kRLm 0.01 Heterotrimeric G Protein wt 2 kRL 3.32e-18 Heterotrimeric G Protein wt 3 kRdo 0.0004 Heterotrimeric G Protein wt 4 kRs 4 Heterotrimeric G Protein wt 5 kRD1 0.004 Heterotrimeric G Protein wt 6 kG1 1 Heterotrimeric G Protein wt 7 kGa 1e-05 Heterotrimeric G Protein wt 8 kGd 0.11 Heterotrimeric G Protein wt 9 GaFrac 1 Heterotrimeric G Protein wt
Delete the parameters.
delete(params)
m1.Parameters
ans =
0×1 Parameter array with properties:
ValueUnits
ConstantValue
Constant
Value
Units
BoundaryCondition
Name
Parent
Notes
Tags
Tag
Type
UserData
FullyQualifiedName
Input Arguments
Object, specified as a SimBiology object or array of SimBiology objects.
If
sobjis a model object, the model is deleted from the root object.deleteremoves all references to the model at the command line and in the SimBiology and SimBiology Model Analyzer apps.If
sobjis 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
sobjis 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
sobjis a reaction object, the function deletes the object, but the species objects that were being used by the reaction object are not deleted.If
sobjis an abstract kinetic law object and there is a kinetic law object referencing it, the function returns an error.If
sobjis 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.If
sobjis an equivalence set object, the equivalence relationship is removed from the model. The quantities in the set are not deleted. If the equivalence set is a subset, its quantities are removed from the parent set. If fewer than two quantities remain in the parent set, the parent set is also deleted. Deleting a set also deletes all of its subsets.You cannot delete the SimBiology
rootobject or aSimDataobject.
Version History
Introduced in R2006a
See Also
MATLAB Command
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.
웹사이트 선택
번역된 콘텐츠를 보고 지역별 이벤트와 혜택을 살펴보려면 웹사이트를 선택하십시오. 현재 계신 지역에 따라 다음 웹사이트를 권장합니다:
또한 다음 목록에서 웹사이트를 선택하실 수도 있습니다.
사이트 성능 최적화 방법
최고의 사이트 성능을 위해 중국 사이트(중국어 또는 영어)를 선택하십시오. 현재 계신 지역에서는 다른 국가의 MathWorks 사이트 방문이 최적화되지 않았습니다.
미주
- América Latina (Español)
- Canada (English)
- United States (English)
유럽
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)