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.
COMSOL expression evaluation
Posted 09.02.2012, 21:03 GMT-5 Parameters, Variables, & Functions Version 4.3 4 Replies
Please login with a confirmed email address before reporting spam
Hi all,
In COMSOL I am using two expressions to calculate a certain parameter, and the objective is to pick the one that under given conditions gives a result, which is a real number and 0<=x<=1). I can easily plug a MATLAB routine to do the assesment and pick the value calculated from either of the two expressions, but I always consider the use of MATLAB from COMSOL as last resort, so maybe there is a way to do it with some smart formula in COMSOL?
Any help will be very much appreciated,
Mike
In COMSOL I am using two expressions to calculate a certain parameter, and the objective is to pick the one that under given conditions gives a result, which is a real number and 0<=x<=1). I can easily plug a MATLAB routine to do the assesment and pick the value calculated from either of the two expressions, but I always consider the use of MATLAB from COMSOL as last resort, so maybe there is a way to do it with some smart formula in COMSOL?
Any help will be very much appreciated,
Mike
4 Replies Last Post 04.07.2012, 03:45 GMT-4