1. Thomas Smith
  2. Doctest for Matlab

Commits

thom...@gmail.com  committed 43a6187

fix error when running on a function with no doctests (fixes #1)

  • Participants
  • Parent commits 083ff87
  • Branches default

Comments (0)

Files changed (1)

File run_doctests.m

View file
 
 [matches] = regexp(docstring, example_re, 'names', 'warnings');
 
-results = struct;
+results = [];
 
 for I = 1:length(matches)