Skip to content

Commit

Permalink
Improvements in medit
Browse files Browse the repository at this point in the history
  • Loading branch information
ezander committed Jun 3, 2013
1 parent dde242b commit 6839aec
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion sglib_version.m
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
%msg = '';

% Version 0.9.6 (upcoming)

% * Cleanup of linalg


% If Version information is requested as string, convert the arrary
Expand Down
8 changes: 6 additions & 2 deletions util/medit.m
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ function medit( filename, prepend )

is_unittest=strncmp( name, 'unittest_', 9 );
if is_unittest
show_options=false;
show_notes=false;
testfunction=name(10:end);
end

Expand Down Expand Up @@ -85,11 +87,13 @@ function medit( filename, prepend )
end
fprintf( fid, '%%\n' );
if show_options
fprintf( fid, '%%Options:\n' );
fprintf( fid, '%% Options\n' );
fprintf( fid, '%%\n' );
end
if show_notes
fprintf( fid, '%%Notes:\n' );
fprintf( fid, '%% References\n' );
fprintf( fid, '%%\n' );
fprintf( fid, '%% Notes\n' );
fprintf( fid, '%%\n' );
end
fprintf( fid, '%% Example (<a href="matlab:run_example %s">run</a>)\n', name );
Expand Down

0 comments on commit 6839aec

Please sign in to comment.