RELSUB
ModelingUsed to reload user data written using SAVSUB.
Use
Reload user-defined data using the Load_Model command.
<Load_Model
model_file = "save1.xml"
result_file = "output.mrf"
anima_file = "output.h3d"/>
Format
- Fortran Calling Syntax
-
SUBROUTINE RELSUB (IUNIT, IERR)
- C/C++ Calling Syntax
-
void STDCALL RELSUB (int *iunit, int *errflg)
- Python Calling Syntax
-
Not Supported
- MATLAB Calling Syntax
-
Not Supported
Attributes
- IUNIT
- [integer]
Output Values
- IERR
- [integer]
Example
For an example of RELSUB, please refer to the [install_path]\hwsolvers\motionsolve\usersub\.
Comments
- MotionSolve calls the RELSUB subroutine when it encounters the Load_Model command.
- IUNIT is automatically generated by MotionSolve. The data written to IUNIT is encoded into the XML file itself, rather than being saved into a separate file. This helps avoid handling extra files.