Note: This discussion is about an older version of the COMSOL Multiphysics® software. The information provided may be out of date.

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.

Access to a function value in matlab

Please login with a confirmed email address before reporting spam

Hi,

I am running a comsol model through matlab. This comsol model has a function El(t) that returns an output based on the value of t. I would like to have the results of this function stored in a array 'el_array' in matlab. I want to eventually use this el_array to do some other calculations inside matlab. I am not interested in storing the results of El(t) in a file and then reading it in matlab.

Can someone help?

Thanks,

Hamsa

1 Reply Last Post Nov 9, 2012, 12:37 p.m. EST

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago Nov 9, 2012, 12:37 p.m. EST
I am able to set up a problem. However, I am still not sure if there is way these results could be spit out on matlab window. Does anyone have an idea?

Thanks
I am able to set up a problem. However, I am still not sure if there is way these results could be spit out on matlab window. Does anyone have an idea? Thanks

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.