how can i run OpenSees many times from Matlab ?

29 views (last 30 days)
I want to run OpenSees multiple times from matlab. I want to record all outputs into Matlab for each loop ? can i do this ?
can anyone help me with that?
thanks.

Answers (2)

ADNAN KIRAL
ADNAN KIRAL on 23 Jan 2020
Edited: ADNAN KIRAL on 23 Jan 2020
I have seen that, but I cannot record the output of OpenSees in Matlab. can I record each simulation in Matlab? possible? thanks.
  2 Comments
Sadia
Sadia on 26 Nov 2020
Mr. ADNAN can you plz guide me how you have run TCL file in opensees?
ADNAN KIRAL
ADNAN KIRAL on 26 Nov 2020
i have used tcl script and then called tcl file from matlab to run multiple times or simultaneously.
hope it helps.
clear all
clc
!OpenSees Test.tcl

Sign in to comment.


Andrea Nettis
Andrea Nettis on 10 Feb 2020
Yes, you can.
Usually, I use a script with a for-loop able to create a folder in which it puts the input tcl-files for Opensees and the executable Opensees.exe. For each step it launches Opensees with the corresponding tcl.files and it saves the output files in the same folder.
Then I have another script that enters in each folders and imports the output results as text files.
  1 Comment
ADNAN KIRAL
ADNAN KIRAL on 10 Feb 2020
thanks for the reply, but if I want to change a variable in OpenSees, Can I manage to change it from Matlab in for loop?
how to command OpenSees to change a variable from Matlab?
is this possible?
thanks in advance

Sign in to comment.

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Tags

Products


Release

R2018a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!