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 with MATLAB
Posted Jun 7, 2012, 9:08 a.m. EDT 1 Reply
Please login with a confirmed email address before reporting spam
Hi Dear COMSOL,
Could you give me a detailed example (steps) of how to convert COMSOL in MATLAB and how can I open and run it in MATLAB, please?
What I did:
1- I created my model in COMSOL
2- Left click on “File” and left click on “Save As Model M-File”
3- A new window appeared “Save History”
4- I assigned a name to the file “name.m” and click on “save”
5- I went to the File “name.m” and I opened with MATLAB R2010b
6- The MATLAB Script was opened and I run the model with click in run or F5
7- …and an error message appears;
??? Java exception occurred:
Exception:
org.eclipse.net4j.util.transaction.TransactionException: org.eclipse.emf.cdo.common.util.TransportException:
java.util.concurrent.TimeoutException
(rethrown as com.comsol.util.exceptions.FlException)
Messages:
Error during client transaction
.
.
.
If I open “COMSOL 4.3 with MATLAB” a black window appears, it ask me for my username and my password and then appears the message:
COMSOL 4.3 <Build:###> started listening on port ####
Use the console command ‘close’ to exit the application
A client with username ‘XXXXXXXX’ has logged on to the server from ‘XXXXX-PC’ using port ####
But then I do not know what to do
Regards,
Could you give me a detailed example (steps) of how to convert COMSOL in MATLAB and how can I open and run it in MATLAB, please?
What I did:
1- I created my model in COMSOL
2- Left click on “File” and left click on “Save As Model M-File”
3- A new window appeared “Save History”
4- I assigned a name to the file “name.m” and click on “save”
5- I went to the File “name.m” and I opened with MATLAB R2010b
6- The MATLAB Script was opened and I run the model with click in run or F5
7- …and an error message appears;
??? Java exception occurred:
Exception:
org.eclipse.net4j.util.transaction.TransactionException: org.eclipse.emf.cdo.common.util.TransportException:
java.util.concurrent.TimeoutException
(rethrown as com.comsol.util.exceptions.FlException)
Messages:
Error during client transaction
.
.
.
If I open “COMSOL 4.3 with MATLAB” a black window appears, it ask me for my username and my password and then appears the message:
COMSOL 4.3 <Build:###> started listening on port ####
Use the console command ‘close’ to exit the application
A client with username ‘XXXXXXXX’ has logged on to the server from ‘XXXXX-PC’ using port ####
But then I do not know what to do
Regards,
1 Reply Last Post Jun 7, 2012, 9:27 a.m. EDT