how can i run OpenSees many times from Matlab ?

25 vues (au cours des 30 derniers jours)
ADNAN KIRAL
ADNAN KIRAL le 23 Jan 2020
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.
  2 commentaires
Sebastian Lopez
Sebastian Lopez le 17 Jan 2022
Thanks Walter, exactly what I was looking for!

Connectez-vous pour commenter.

Réponses (2)

ADNAN KIRAL
ADNAN KIRAL le 23 Jan 2020
Modifié(e) : ADNAN KIRAL le 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 commentaires
Sadia
Sadia le 26 Nov 2020
Mr. ADNAN can you plz guide me how you have run TCL file in opensees?
ADNAN KIRAL
ADNAN KIRAL le 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

Connectez-vous pour commenter.


Andrea Nettis
Andrea Nettis le 10 Fév 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 commentaire
ADNAN KIRAL
ADNAN KIRAL le 10 Fév 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

Connectez-vous pour commenter.

Catégories

En savoir plus sur Startup and Shutdown dans Help Center et File Exchange

Tags

Produits


Version

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by