how can i run OpenSees many times from Matlab ?

24 visualizzazioni (ultimi 30 giorni)
ADNAN KIRAL
ADNAN KIRAL il 23 Gen 2020
Modificato: Walter Roberson il 17 Gen 2022
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.

Risposte (2)

ADNAN KIRAL
ADNAN KIRAL il 23 Gen 2020
Modificato: ADNAN KIRAL il 23 Gen 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 Commenti
Sadia
Sadia il 26 Nov 2020
Mr. ADNAN can you plz guide me how you have run TCL file in opensees?
ADNAN KIRAL
ADNAN KIRAL il 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

Accedi per commentare.


Andrea Nettis
Andrea Nettis il 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 Commento
ADNAN KIRAL
ADNAN KIRAL il 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

Accedi per commentare.

Categorie

Scopri di più su Startup and Shutdown in Help Center e File Exchange

Tag

Prodotti


Release

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by