Overview
Comment: | Fixed a horrible bug -- changed filename -> filenum |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | origin/master | trunk |
Files: | files | file ages | folders |
SHA3-256: |
0f3668c99985a730a47d470520ae9f8d |
User & Date: | gawthrop@users.sourceforge.net on 1998-02-03 08:40:39 |
Other Links: | branch diff | manifest | tags |
Context
1998-02-04
| ||
11:00:04 | Added view of subsystems. check-in: b9f403e2e4 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
1998-02-03
| ||
08:40:39 | Fixed a horrible bug -- changed filename -> filenum check-in: 0f3668c999 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
1998-02-01
| ||
18:37:41 | Don't print irritating warnings about ports listed in lbl files. check-in: d0ea5d6a90 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
Changes
Modified mttroot/mtt/bin/trans/m/write_matrix.m from [140a590016] to [1f41035ec1].
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 | + + + - + - + - + - + - + - - + + | function write_matrix(matrix,name); % Writes the matrix function file % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %% Version control history % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %% $Id$ % %% $Log$ % %% Revision 1.4 1996/08/15 11:56:11 peter % %% Does complex matrices. % %% % %% Revision 1.3 1996/08/14 19:20:41 peter % %% Fixed output naming bug. % %% % %% Revision 1.2 1996/08/14 08:36:52 peter % %% Puts a tab between columns. % %% % %% Revision 1.1 1996/08/14 08:21:27 peter % %% Initial revision % %% % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% filename = [name, '.m']; filenum = fopen(filename,'w'); % Write the function m-file for the causal bond graph pc = '%'; fprintf(filenum, 'function data = %s\n', name); fprintf(filenum, '%s data = %s\n\n', pc, name); |