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.
Extracting Data in Matlab from Comsol
Posted Feb 11, 2011, 1:10 p.m. EST Results & Visualization, Structural Mechanics Version 3.5a 3 Replies
Please login with a confirmed email address before reporting spam
I did an eigenfreqeuncy analysis in Comsol (35.5a) and then saved it as an m file, loaded it in Matlab and then set up a parameter loop (so change the length of my resonator).
How do I extract the information from the simulation? For example I would like to write the eigenfrequencies to a file. I thought the command was
eigfreq_smsld(i)
where i is the solution number, but it doesnt work.
If I use
postmin(fem,'eigfreq_smsld')
I get the first resonance found by the simulation, but I would like all of them!
Thanks for any help.
How do I extract the information from the simulation? For example I would like to write the eigenfrequencies to a file. I thought the command was
eigfreq_smsld(i)
where i is the solution number, but it doesnt work.
If I use
postmin(fem,'eigfreq_smsld')
I get the first resonance found by the simulation, but I would like all of them!
Thanks for any help.
3 Replies Last Post Feb 11, 2011, 2:58 p.m. EST