Exporting plots from parametric sweep with variable filenames

Please login with a confirmed email address before reporting spam


I'm running a large parametric sweep over a variable - let's call it 'a.' There's a 1D plot that I've defined in "Results," and for each of the runs in the parametric sweep, I'd like to automatically export the plot in a file named something like "plot'a'.txt." Since there are a lot of different plots for the different values of 'a', this would be difficult to do manually. Does anyone have any suggestions on how to do this?


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.