I'm trying to get the matlab livelink to work, but no matter what I do I always get the same error:
I launch "Comsol with Matlab", the console opens, then Matlab opens, and the following error is displayed within Matlab:
??? Java exception occurred:
com.comsol.model.clientserver.ConnectionAbortedException
at com.comsol.model.clientserver.ClientManagerImpl.a(Unknown Source)
at com.comsol.model.clientserver.ClientManagerImpl.connect(Unknown Source)
at com.comsol.model.util.ModelManager.connect(Unknown Source)
at com.comsol.model.util.ModelManager.connect(Unknown Source)
at com.comsol.model.util.ModelUtil.connect(Unknown Source)
Someone on the supporrt team suggested that I run the comsol server and the comsol client to see if a connection can be made. When I do that, the server opens up fine and listens on port 2036. Then I start the client and enter the port number, my username and password. When I click OK, the connection times out every time.
Note that I'm doing all this with the latest version of COMSOL and the latest hotfixes, and my firewall is off. I am running Windows Vista 32bit, Comsol 4.0a, Matlab 2009b.
I've reinstalled both Matlab and COMSOL numerous times already, and always get the same error.
The path to Matlab is setup correctly in the ini files.
I'd appreciate any ideas! Thanks.
I launch "Comsol with Matlab", the console opens, then Matlab opens, and the following error is displayed within Matlab:
??? Java exception occurred:
com.comsol.model.clientserver.ConnectionAbortedException
at com.comsol.model.clientserver.ClientManagerImpl.a(Unknown Source)
at com.comsol.model.clientserver.ClientManagerImpl.connect(Unknown Source)
at com.comsol.model.util.ModelManager.connect(Unknown Source)
at com.comsol.model.util.ModelManager.connect(Unknown Source)
at com.comsol.model.util.ModelUtil.connect(Unknown Source)
Someone on the supporrt team suggested that I run the comsol server and the comsol client to see if a connection can be made. When I do that, the server opens up fine and listens on port 2036. Then I start the client and enter the port number, my username and password. When I click OK, the connection times out every time.
Note that I'm doing all this with the latest version of COMSOL and the latest hotfixes, and my firewall is off. I am running Windows Vista 32bit, Comsol 4.0a, Matlab 2009b.
I've reinstalled both Matlab and COMSOL numerous times already, and always get the same error.
The path to Matlab is setup correctly in the ini files.
I'd appreciate any ideas! Thanks.