mttGetBondCausality.m 410 B

1234567891011
  1. function [effort_causality,flow_causality,uni_causality] = mttGetBondCausality(model,bond_number)
  2. if isempty(bond_number)
  3. effort_causality = [] ;
  4. flow_causality = [] ;
  5. uni_causality = [] ;
  6. else
  7. effort_causality = model.bond(bond_number).effort ;
  8. flow_causality = model.bond(bond_number).flow ;
  9. uni_causality = model.bond(bond_number).unicausal ;
  10. end