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

Comsol, Matlab and xmesh-error

$
0
0
Hey,

I trie to run my Comsol simulation via Matlab because I want to loop some parameters. For test-reasons I try to run the tomograph tutorial as it solves quick.

I'm using Comsol 3.5 but when connecting to Matlab from the Comsol-GUI (File->Client/Server/Matlab->Connect To Matlab) Matlab starts and says 'successfully established new client connection but the processbar in Comsol hangs while 'regenerating extended mesh'. I can load the *.m File in Matlab via
fem = flload('tutTomograph')
and it shows the fem-structur, but when I try to access postplot-funktions an 'error using xmeshinit - no extended mesh found in fem structure.You need to cal meshextend first' shows up.

I couldn't find out how to call the xmesh-thing via matlab - hopefully someone here can help me with my problem;

Looking forward to you answers :)


PS.: I also looking for tutorials about how to use comsol-m-files via matlab for the old comsol 3.5 :)

Viewing all articles
Browse latest Browse all 26527

Trending Articles