Skip to content

Commit

Permalink
Fixed function names
Browse files Browse the repository at this point in the history
  • Loading branch information
wandell committed Jun 6, 2020
1 parent 512fc40 commit 963048c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion opticalimage/oiFromFile.m
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
% Examples:
%{
filename = 'eagle.jpg';
oiFromFile(filename,'rgb');
oi = oiFromFile(filename,'rgb');
oiWindow(oi);
%}
%{
Expand Down
11 changes: 6 additions & 5 deletions utility/external/exampletoolbox/ieExamplesRun.m
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
function [names,status] = RunExamples(str,varargin)
function [names,status] = ieExamplesRun(str,varargin)
% Invoke examples for all files in a directory or a function
%
% [names,status] = RunExamples(fileOrDirectory, ...);
% [names,status] = ieExamplesRun(fileOrDirectory, ...);
%
% Copyright ISETBIO Team, 2018
%
% See also
% ExecuteExamplesInFunction, ExecuteExamplesInDirectory, PrintExamples
% ieExamplesPrint
%

% Examples:
%{
Expand Down Expand Up @@ -48,10 +49,10 @@

%%
if exist(str,'dir')
[names,status] = ExecuteExamplesInDirectory(str);
[names,status] = ieExamplesRunInDirectory(str);
elseif exist(str,'file')
names = str;
status = ExecuteExamplesInFunction(str,'findfunction',fFlag,...
status = ieExamplesRunInFunction(str,'findfunction',fFlag,...
'printexampletext',pFlag,...
'verbose',verbose, ...
'closefigs',p.Results.closefigs);
Expand Down
4 changes: 2 additions & 2 deletions utility/external/exampletoolbox/ieExamplesRunInFunction.m
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
function status = ExecuteExamplesInFunction(theFunction,varargin)
function status = ieExamplesRunInFunction(theFunction,varargin)
% Open file, read it, parse execute any examples
%
% Syntax:
% status = ExecuteExamplesInFunction(theFunction)
% status = ieExamplesRunInFunction(theFunction)
%
% Description:
% Examples are enclosed in block quotes, following a comment line that
Expand Down

0 comments on commit 963048c

Please sign in to comment.