Post: User Output Request
Model ElementThe Post_UserAPI element allows you to generate your own results file.
Format
<Post_UserAPI>
USRSUB_PARAM_STRING = "USER( [[par_1 [, ...][,par_n]] )"
USRSUB_DLL_NAME = valid_path_name
USRSUB_FNC_NAME = custom_fnc_name >
|
SCRIPT_NAME = valid_path_name
INTERPRETER = "PYTHON" | "MATLAB"
USRSUB_PARAM_STRING = "USER([[par_1[,...][,par_n]])
"
USRSUB_FNC_NAME = "custom_fnc_name" >
</Post_UserAPI>
Attributes
- usrsub_param_string
- The list of parameters that are passed from the data file to the user written subroutine Message_Sub.
- usrsub_dll_name
- Specifies the path and name of the DLL or shared library containing user subroutine. MotionSolve uses this information to load the user subroutine in the DLL at run time.
- usrsub_fnc_name
- Specifies an alternative name for the user subroutine POST_SUB.
- script_name
- Specifies the path and name of the user written script that contains the routine specified by usrsub_fnc_name.
- interpreter
- Specifies the interpreted language that the user script is written in. Valid choices are MATLAB or PYTHON.