Simulation Times Increasing with LiveLink for MATLAB

Please login with a confirmed email address before reporting spam

I've been running automated simulations with LiveLink for MATLAB, where each run makes small geometry changes, remeshes, and solves. I’ve noticed that while early simulations take ~45 minutes, after 20–30 runs, the simulation time increases a lot (more than twice), even though the problem size stays the same.

Has anyone else experienced this slowdown?

Are there best practices for preventing resource issues or memory leaks when using LiveLink for MATLAB for multiple runs? Is it helpful to restart the COMSOL server periodically, and if so, how do you safely restart it without physically clicking from the start menu?

Would appreciate any advice!


Reply

Please read the discussion forum rules before posting.

Please log in to post a reply.

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.