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.
Eigenfrequency / Lambda with Matlab LiveLink
Posted 2011年2月23日 GMT-5 05:40 Interfacing Version 4.0, Version 4.0a, Version 4.1 3 Replies
Please login with a confirmed email address before reporting spam
Hey there,
I've got a question about the new LiveLink to Matlab. I made an eigenfrequency analysis and want to use the solution (either the eigenfrequencies or the lambdas) in Matlab. With Comsol 3.5 and the Matlab interface you could easily acces the lambdas bei typing
"fem.sol.lambda"
and you got your list.
Now it seems not to be as easy anymore. I managed to find a list of the eigenfrequencies in a java.lang.String[] format bei typing the following :
"model.result.dataset('dset1').getSolEigenfreqTransform(1)"
I have to say, that it doesn't matter what number you type in as argument, you can type whatever you want and will get the same output.
Does anyone know how to acces a normal list of eigenfrequencies with this new version?
Kind regards,
Stephan
I've got a question about the new LiveLink to Matlab. I made an eigenfrequency analysis and want to use the solution (either the eigenfrequencies or the lambdas) in Matlab. With Comsol 3.5 and the Matlab interface you could easily acces the lambdas bei typing
"fem.sol.lambda"
and you got your list.
Now it seems not to be as easy anymore. I managed to find a list of the eigenfrequencies in a java.lang.String[] format bei typing the following :
"model.result.dataset('dset1').getSolEigenfreqTransform(1)"
I have to say, that it doesn't matter what number you type in as argument, you can type whatever you want and will get the same output.
Does anyone know how to acces a normal list of eigenfrequencies with this new version?
Kind regards,
Stephan
3 Replies Last Post 2011年4月29日 GMT-4 08:07