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

Problem running COMSOL 4.0a with MATLAB

$
0
0
Hi all,

having studied the manual, I can't get the LiveLink for MATLAB functioning. I use Windows and MATLAB R2010a. At my university the preferred way is to first start a COMSOL server and then start MATLAB and run the mphstart function. The mli-path is added to the MATLAB directory. COMSOL is listening to port 2036, but when running mphstart gives the following error

??? Java exception occurred:
java.lang.RuntimeException: Not possible to determine the installation path 'cs.root'.

at com.comsol.systemutils.SystemUtil.b(Unknown Source)

at com.comsol.systemutils.SystemUtil.getCsRoot(Unknown Source)

at com.comsol.systemutils.SystemUtil.getPluginsRoot(Unknown Source)

at com.comsol.util.methods.PluginUtil.a(Unknown Source)

at com.comsol.model.util.ModelUtil.getModelManager(Unknown Source)

at com.comsol.model.util.ModelUtil.connect(Unknown Source)


Error in ==> c:\Program Files\COMSOL40a\mli\mphstart.p>mphstart at 68

It seems like there are some incorrect folders somewhere. I've checked the ini-files and they seem ok. Anyone have any suggestion what to do?

Viewing all articles
Browse latest Browse all 428

Trending Articles



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