Global Evaluation and Integration
To get the value of an expression defined with a global scope, use the function mphglobal.
1
Vtot = mphglobal(model,'Vtot')
 
Vtot =
  0.0200
2
Q = mphint2(model,'ec.Qh','volume','selection',1)
The total heat is:
Q =
  0.2419
3
[I,unit] = mphint2(model,'ec.normJ','surface','selection',43)
 
I =
  161.5116
 
unit =
  'A'
4
maxT = mphmax(model,'T','volume','selection',1)
 
maxT =
  323.0784
5
maxT = mphmax(model,'T','surface','selection',43)
 
maxT =
  330.4062