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.

Export streamline from COMSOL

Please login with a confirmed email address before reporting spam

Hello
I am trying to export streamline from comsol. I have exported the data from COMSOL, now trying to plot the streamline at MATLAB with this data. But it is not working. Can anyone help? And is possible to do this using Origin plotting software?

1 Reply Last Post 19 juin 2017, 05:33 UTC−4
Lars Gregersen COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 7 years ago 19 juin 2017, 05:33 UTC−4
Hi Rajib

You could use LiveLink for Matlab and simply do:

pd = mphplot(model, 'pg1')

Then you'll have all the data that makes up the plot in the pd structure and you later recreate the plot using

mphplot(pd)

and you don't have to fiddle with any exported data files.


--
Lars Gregersen
Comsol Denmark
Hi Rajib You could use LiveLink for Matlab and simply do: pd = mphplot(model, 'pg1') Then you'll have all the data that makes up the plot in the pd structure and you later recreate the plot using mphplot(pd) and you don't have to fiddle with any exported data files. -- Lars Gregersen Comsol Denmark

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.