Artifact d685c05ad4ba8a18f36447c3f919e60bd5002cc8c9ea8f48d9b3cabfb55322ee:
- File mtt/bin/trans/m/mtt_cbg.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: 426) [annotate] [blame] [check-ins using] [more...]
- File mttroot/mtt/bin/trans/m/mtt_cbg.m — part of check-in [cacc8a5875] at 2003-03-14 14:03:28 on branch origin/master — Fixed error message (user: gawthrop@users.sourceforge.net, size: 426) [annotate] [blame] [check-ins using]
function cbg = mtt_cbg (name) ## usage: cbg = mtt_cbg (name) ## ## Gets the cbg (causal bond graph) structure for system name ## Copyright (C) 2003 by Peter J. Gawthrop ## File name cbg_file = sprintf("%s_cbg",name); if (exist(cbg_file)==0) error(sprintf("mtt_cbg: subsystem \"%s\" does not exist", name)); endif ## Subsystem data structure cbg = eval(sprintf("%s;", cbg_file)); endfunction