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.
Comsol 4.3 working in command line Win7
Posted Apr 19, 2015, 2:26 p.m. EDT Interfacing Version 4.3 0 Replies
Please login with a confirmed email address before reporting spam
Scenario:
1) Start Comsol
2) Open .mph file (File -> Open)
3) Start comsolserver
4) Export model to server (File -> Client Server -> Export Model to Server...)
5) Import model from server (File -> Client Server -> Import Model from Server...)
For the first 3 steps I managed to use:
1+2) comsol -open <filename>
C:\Program Files\COMSOL\COMSOL43\bin\win64>comsol -open E:\filename.mph
[unfortunately with GUI]
3) comsolserver
C:\Program Files\COMSOL\COMSOL43\bin\win64>comsolserver
Port number 2036 was busy, using 2037 instead
COMSOL 4.3 (Build: 151) started listening on port 2037
Use the console command 'close' to exit the application
Is it possible to open a file (step 2) without GUI (as comsol matlab -nodesktop option)? Also, how can I import/export files using Windows command line (steps 4 and 5)?
Hello Bogdan Mociran
Your Discussion has gone 30 days without a reply. If you still need help with COMSOL and have an on-subscription license, please visit our Support Center for help.
If you do not hold an on-subscription license, you may find an answer in another Discussion or in the Knowledge Base.