Quantcast
Channel: Latest Discussions - COMSOL Forums
Viewing all articles
Browse latest Browse all 428

URGENT -Running COMSOL with MATLAB help needed

$
0
0
Hello,

This is in reference to a post :

May 3, 2011 8:51am EDT in response to captainmariah
Re: Work on COMSOL through MATLAB?

2. You can start a Comsol server manually (from the Comsol Start menu group or installation folder) and then, in Matlab, run the command "mphstart;" to connect to Comsol.


Once you have connected to Comsol, you should be able to run the m-file you saved from Comsol. Then you want to get some results out of it. At this point I need to refer you to the Comsol API Guide, which you find from Help > Documentation within Comsol. This guide lists all the commands you can use in Matlab, and you should be able to find the results you want to access listed there.

I did firstly set the current folder to COMSOL51\mli and the comsol server is ON before using mphstart)..

However, I received an error, "connection refused" and no further information available.
I am using MATLAB R2015a and COMSOL 5.1

Kindly help me out.

Viewing all articles
Browse latest Browse all 428

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>