Need help with Revisp

5 views (last 30 days)
Tuaseef Khan
Tuaseef Khan on 16 Jul 2017
Commented: Tuaseef Khan on 17 Jul 2017
I have no idea how to use matlab, but downloaded the source code to an opensource program to create 3D speheroids from an image. The program in question is ReViSP. However i keep getting multiple errors and as i dont understand the language used in matlab i cant seem to get the program running.
Trial>> START_GUI
Error using dir
Characters adjacent to a ** wildcard must be file separators.
Error in START_GUI>pushbutton2_Callback (line 248)
ImagesList = dir([ImageFolder '*' ImageBaseName InImageType]);
Error in gui_mainfcn (line 95)
feval(varargin{:});
Error in START_GUI (line 86)
gui_mainfcn(gui_State, varargin{:});
Error in
matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)START_GUI('pushbutton2_Callback',hObject,eventdata,guidata(hObject))
Error while evaluating UIControl Callback.
Trial>> START_GUI
Error using dir
Characters adjacent to a ** wildcard must be file separators.
Error in START_GUI>pushbutton2_Callback (line 248)
ImagesList = dir([ImageFolder '*' ImageBaseName InImageType]);
Error in gui_mainfcn (line 95)
feval(varargin{:});
Error in START_GUI (line 86)
gui_mainfcn(gui_State, varargin{:});
Error in
matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)START_GUI('pushbutton2_Callback',hObject,eventdata,guidata(hObject))
Error while evaluating UIControl Callback.
Error using dir
Characters adjacent to a ** wildcard must be file separators.
Error in START_GUI>pushbutton2_Callback (line 248)
ImagesList = dir([ImageFolder '*' ImageBaseName InImageType]);
if true
% code
end

Accepted Answer

Walter Roberson
Walter Roberson on 16 Jul 2017
In the second edit text box from the top that comes up, the one that starts out containing
"Base name of the binary masks to be processed. E.g., Spheroid_"
you need to remove that text and replace it with something non-empty. For example if you opened the Test_Masks directory then you could put in Test_Culture_002
If you were to leave that field empty then starting in R2017a you would get the message you see.
  1 Comment
Tuaseef Khan
Tuaseef Khan on 17 Jul 2017
Fantastic, thank you very much. Although on the script itself they said you didn't have to type anything in. Thanks again.

Sign in to comment.

More Answers (0)

Categories

Find more on File Operations in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!