Note: This discussion is about an older version of the COMSOL Multiphysics® software. The information provided may be out of date.

Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.

M-file cleaning

Please login with a confirmed email address before reporting spam

Hi,

Does anyone know of any shortcuts to "cleaning up" m-files? For example If we have spent a while on a comsol model there will be numerous deletes, geometry edits, view changes etc etc resulting in unnecessary lines of matlab code in our m-file. Is there any way to simply have these unnecessary lines removed without having to do it ourselves?

Cheers,

Chris

2 Replies Last Post Feb 15, 2011, 2:12 p.m. EST
Ivar KJELBERG COMSOL Multiphysics(r) fan, retired, former "Senior Expert" at CSEM SA (CH)

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago Jan 11, 2011, 1:49 a.m. EST
Hi

have you checked the "File - reset model" (it exist in 3.5a an >= v4.1)

--
Good luck
Ivar
Hi have you checked the "File - reset model" (it exist in 3.5a an >= v4.1) -- Good luck Ivar

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago Feb 15, 2011, 2:12 p.m. EST
Thanks Ivar,

that's exactly the same question I had!

In COMSOL 4.1 it is now called "Reset History" ( File > Reset History)
Thanks Ivar, that's exactly the same question I had! In COMSOL 4.1 it is now called "Reset History" ( File > Reset History)

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.