- Function me::Delete(runtimeId)
me::Delete
The procedure me::Delete a runtime identifier and all runtime
identifiers below that identifier.
me::Delete(
runtimeId ! (input) an element
)
Arguments
- runtimeId
An element in the set
AllIdentifiersreferencing a runtime identifier.
Return Value
Returns 1 if the delete operation is successful, 0 otherwise. In the latter case error(s) have been raised. When
runtimeIddoesn’t reference a runtime identifier an error will be raised.
Example
Viewing a small runtime library with prefix frerl in the model explorer:
Let ep_functionReferenceExampleRuntimeParameter have value frerl::p_a, then the code:
me::Delete( ep_functionReferenceExampleRuntimeParameter );
deletes that parameter from the declaration section, thus changing that library to the following:
illustrating that a runtime library can shrink at runtime.
See also
Generic references for model edit functions can be found on the index page.