OpenSees-Matlab Interaction of Truss Example
This is example code on how to interact between OpenSees and Matlab. The routine writes tcl code, run OpenSees, and read/extract output file. This code use the official Truss example from OpenSees:
https://opensees.berkeley.edu/wiki/index.php/Basic_Truss_Example
Please create the "Truss.tcl" from that website, the opensees analysis will generate "example.out" as output.
Note that all matlab .m, .tcl, and opensees.exe files need to be in the same folder.
Cite As
Gifari Zulkarnaen (2024). OpenSees-Matlab Interaction of Truss Example (https://www.mathworks.com/matlabcentral/fileexchange/74949-opensees-matlab-interaction-of-truss-example), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.