Improving setup procedure, now catching failed call to VAMatlab due to missing...

Improving setup procedure, now catching failed call to VAMatlab due to missing DLLs and notifying user in version line edit of GUI
parent ff385f69
......@@ -66,8 +66,12 @@ if ~isempty( current_va_mex_dir )
set( handles.va_search_dir, 'String', fullfile( va_path ) );
set( handles.edit_vamatlab_full_path, 'String', current_va_mex_dir )
v = VAMatlab( 'getVersion' );
set( handles.edit_vamatlab_version, 'String', v )
try
v = VAMatlab( 'getVersion' );
set( handles.edit_vamatlab_version, 'String', v )
catch
set( handles.edit_vamatlab_version, 'String', 'Failed to execute VAMatlab, probably a depending library is missing.' )
end
end
% VAServer
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment