simulation single_run subroutine consub
Allows you to control an Adams simulation from within a user subroutine.
Format:
simulation single_run subroutine |
|---|
consub model_name = | an existing model |
user_function = | real value |
routine = | string |
Example:
simulation single_run subroutine & |
|---|
consub model_name = | ATV_4poster & |
user_function = | 5 & |
routine = | "user_routine" |
Description:
Parameter | Value Type | Description |
|---|
model_name | An Existing Model | Specifies an existing model. |
user_function | Real Value | Specifies up to 30 values for Adams to pass to a user-written subroutine. |
routine | String | |
Extended Definition:
1. You may identify a model by typing its name or by picking it from the screen. If the model is not visible on the screen, you must type the name. You may also find it convenient to type the name even if the model is displayed. You must separate multiple model names by commas. If the model is visible in one of your views, you may identify it by picking on any of the graphics associated with it. You need not separate multiple model picks by commas.