| Thread Closed |
COMSOL - M-file with unnecessary entries |
Share Thread | Thread Tools |
| Dec5-08, 07:42 AM | #1 |
|
|
COMSOL - M-file with unnecessary entries
Hello everybody!
I have the problem that my comsol generated m-files contain a lot of repeating entries and old values which have been changed in the process of creating the *.mph-file. Comsol writes in the knowlege base: "When saving a model as an M-file it contains by default all the command history. This makes the file dense and not easy to work with. Using the reset option under the file menu makes the script clear as it only keeps the commands that correspond to the current model." I am already doing it like this, I am using the reset model option, but still the m-file is unstructured because of unnecessary entries. How can one get rid of these? Thanks! Best regards, DJ_Goodnews. |
| Jan8-09, 07:42 AM | #2 |
|
|
Hi,
(..."Using the reset option under the file menu makes the script clear as it only keeps the commands that correspond to the current model." ..) I got an message from the Comsol support. They state, that the "reset option" does not clear the complete history. Since I got no answers so far, Iwoulde be interested if anyone has the same problem? And how people in general you work with the skript. -Do you start from scratch? Or convert a mph. to an m-file ? ... -Any suggestions, how to get along with the script? Cheers, DJ_GoodNews |
| Jan9-09, 12:45 AM | #3 |
|
|
Yeah, the reset is what it is in terms of cleaning the m - file. Haven't come up with any other way than to mix text editors with highlighting and scripting to script m - files (i.e. generate m - files using python/perl so don't have to repeat everything every time or resort to too much copy - pasting). So essentially from scratch.
|
| Thread Closed |
| Thread Tools | |
Similar Threads for: COMSOL - M-file with unnecessary entries
|
||||
| Thread | Forum | Replies | ||
| Deleting blog entries | Forum Feedback & Announcements | 2 | ||
| Entries in every row add to zero... (nullspace/determinant question!) | Linear & Abstract Algebra | 2 | ||
| Masters necessary/unnecessary? | Academic Guidance | 8 | ||
| Make a Pdf file into an ordinary web file (html file)? | Computing & Technology | 3 | ||
| My network directory file synch batch file thing :) | Computing & Technology | 2 | ||