Artifact e62609931f6a0d6d2c530632d9daa7a0e8f681e66d9af3b20b9fe858b945c00b:
- File
mttroot/ntt/bin/trans/mttGetBondCausality.m
— part of check-in
[745f0b3e31]
at
2003-10-20 17:10:30
on branch origin/master
— Added initial revision of ntt:
new transformation tools for using bond graphs with Matlab.
Copyright 2003 Dr. Dominic J. Diston. (user: geraint@users.sourceforge.net, size: 410) [annotate] [blame] [check-ins using] [more...] - File ntt/bin/trans/mttGetBondCausality.m — part of check-in [af3953deae] at 2021-03-01 11:39:42 on branch master — Cleanup repository after cvs2git conversion. (user: jeff@gridfinity.com, size: 410) [annotate] [blame] [check-ins using]
function [effort_causality,flow_causality,uni_causality] = mttGetBondCausality(model,bond_number) if isempty(bond_number) effort_causality = [] ; flow_causality = [] ; uni_causality = [] ; else effort_causality = model.bond(bond_number).effort ; flow_causality = model.bond(bond_number).flow ; uni_causality = model.bond(bond_number).unicausal ; end