Export streamline from COMSOL

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 2017年6月19日 GMT-0400上午5:33
Lars Gregersen COMSOL Employee
Posted: 4 months ago 2017年6月19日 GMT-0400上午5:33
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

Reply

Please read the discussion forum rules before posting.

Please log in to post a reply.

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.