Can Simulink and other simulation software be repeatedly executed through Matlab scripts when simulating together?

10 views (last 30 days)
Simulink makes designing controllers very convenient, and AMESim is also very convenient to use in its field. My idea is that some algorithms for optimizing PID (such as particle swarm optimization) require repeatedly running the Simulink model during the iteration process to obtain better PID parameters. So, if the two software are used for co-simulation, will both of them go through the iterative process simultaneously?

Answers (1)

Paul
Paul 10 minutes ago
Hi yiwei,
There are several options for running Simulink simulations from Matlab scripts. Start from Run Simulations and then go through Run Individual Simulations and/or Run Multiple Simulations from that page to see if either fits your needs. I don't know what AMESim is, so can't comment on how Simulink would be used in this context. If you can provide a bit more context of the AMESim workflow, then maybe a solution path will be more clear.

Categories

Find more on Manual Performance Optimization in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!