I am working on Simulink Model of 8DOF semi active suspension quarter car model with passenger. The MR Bouc Wen Model is used in the model which is controlled by Fuzzy controller with 2 input (sprung mass displacement, sprung mass velocity) and 1 output (Voltage).
I want to optimize Fuzzy rules and Fuzzy Membership function by Particle Swarm Optimization techniques. The Objective Function is Minimization of Sprung Mass Displacement.
I am looking for Matlab Codes for the same. How can I call Simulink output as Objective function in Coding?