Overview
Comment:Initial revision
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: a7f1bb8b6ca8a8ed4e721cbce25865454302c1ee330cce1453490aed7c512613
User & Date: gawthrop@users.sourceforge.net on 1996-08-27 08:08:44
Other Links: branch diff | manifest | tags
Context
1996-08-27
12:50:43
Initial revision check-in: 533da0b258 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
08:08:44
Initial revision check-in: a7f1bb8b6c user: gawthrop@users.sourceforge.net tags: origin/master, trunk
08:04:52
Handles complex components and repetative components. check-in: a42aee795c user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Added mttroot/mtt/bin/trans/m/varname.m version [f43a51e894].















































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
function name = varname(name,index,causality);
% varname - Creates name of bond graph variable

% 
%     %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
%     %%%%% Model Transformation Tools %%%%%
%     %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 
% Matlab function  varname.m
% Acausal bond graph to causal bond graph: mfile format


% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %% Version control history
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %% $Id$
% %% $Log$
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


bond_name = [name,'_bond'];

name =sprintf('%s%1.0f_%s', bond_name, index, cause2name(causality));


MTT: Model Transformation Tools
GitHub | SourceHut | Sourceforge | Fossil RSS ]