I am working on an iterative co-simulation process. What I need to do is to either restart the ModelSim simulation from the main hdl program or from MATLAB script/testbench.
Currently, I am restarting the simulation manually (Simulate-->Restart), which is not practical for a large number of iterations.