OpenSeesMatlab
OpenSeesMatlab ¤
Bases: handle
OpenSeesMatlab Main MATLAB interface for OpenSees.
OpenSeesMatlab is the top-level entry point of this toolbox. It creates and connects the OpenSees command interface, pre-processing utilities, analysis helpers, post-processing tools, visualization tools, and general utilities around an OpenSees MATLAB MEX module.
The OpenSees commands are accessed through the opensees property:
1 2 | |
Command syntax follows OpenSeesPy/OpenSees command conventions as closely as possible. For command-level details, refer to:
OpenSeesPy: https://openseespydoc.readthedocs.io/en/latest/index.html
OpenSees : https://opensees.github.io/OpenSeesDocumentation/
Syntax
1 2 3 4 | |
Properties:
| Name | Type | Description |
|---|---|---|
opensees |
_Ax3g3L8eYwTuflGUg
|
OpenSees command wrapper. Use this object to call OpenSees commands such as wipe, model, node, element, system, numberer, constraints, integrator, algorithm, analysis, analyze, recorder, and related APIs. |
pre |
_EME3kqP0ATvayfHC
|
Pre-processing utilities, including section-geometry recording, unit-system utilities, mesh import helpers, mass/matrix utilities, and load transformation helpers. |
anlys |
_wb28mcyOTcmPZHU0DuEoV
|
Analysis utilities. Includes smartAnalyze for robust transient/static analysis with retries, algorithm switching, step splitting, and progress reporting. |
post |
_Eqy30AMdXvgrQOtbN
|
Post-processing utilities for collecting model information, eigen data, and response data, and for saving/loading output databases. |
vis |
_PAk6E4OxNRY373ur
|
Visualization utilities for model geometry, mode shapes, deformations, nodal responses, frame responses, shell responses, and continuum responses. |
utils |
_oDYhum65ehwPLv6o6
|
General helper tools, including example-model loading. |
Example
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | |
OpenSeesMatlab ¤
(mexName='OpenSeesMATLAB', mexDir='derived/')
Construct the main OpenSeesMatlab interface.
The constructor creates the OpenSees command wrapper first, then initializes visualization, post-processing, utility, analysis, and pre-processing helper objects that share the same parent interface.
Syntax
1 2 3 4 | |
Input arguments:
| Name | Type | Description | Default |
|---|---|---|---|
mexName
|
string or char
|
Name of the OpenSees MATLAB MEX module. Default is 'OpenSeesMATLAB'. |
required |
mexDir
|
string or char
|
Directory containing the OpenSees MATLAB MEX module. Relative paths are resolved by OpenSeesMatlabBase relative to this class location when possible. Default is 'derived/'. |
required |
Example
1 2 3 4 5 6 | |