HOW do i link matlab and opensees?

hi.
i want link between matlab and opensees but i no how it. can you help me?

Answers (1)

Walter Roberson
Walter Roberson on 21 Mar 2021
opensees runs a TCL interpreter.
The primary access method is to write the desired commands to a file, and then system() to run the opensys executable redirecting from the file you just created
In Windows, there would be an additional more interactive method available, by using .NET to create a process and using .NET functions to write to the process. If I recall correctly you use System.Diagnostics.Process
In Mac or Linux, you could open a named pipe to talk to the program.

Categories

Asked:

on 21 Mar 2021

Answered:

on 21 Mar 2021

Community Treasure Hunt

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

Start Hunting!