Dear researchers,
I want to use a matlab code to calculate building desplacement velocity and accleration (ender earthquake), then send the displacement and velocity to a MR damper model in Simulink and get a F force from the MR damper and return that force back to the structure to get a new displacement and velocity and send them again to the damper and get a force F and again and again. For each time step for the earthquake duration.
how can I do that ?
PS: the Matlab code is working correctly and the simulink for MR damper also but how to combine both ?