Commit 0e0cd5bc authored by Jonas Stienen's avatar Jonas Stienen

Adding itaVA server start script example

parent 6247308b
if ~exist( 'VAServer.exe', 'file' )
itaVA_setup
end
[ basepath, basename, ext ]= fileparts( which( 'VAServer.exe') );
[ va_basepath, ~, ~ ]= fileparts( basepath );
conf_path1 = fullfile( 'conf', 'VACore.ini' );
conf_path2 = fullfile( pwd, 'MyVACore.ini' ); % also absolute path possible
va_args = [ 'localhost:12340 ' conf_path1 ];
os_call = [ which( 'VAServer.exe') ' ' va_args ' &' ];
return_to_dir = pwd;
cd( va_basepath );
[ status, cmdout ] = system( os_call );
cd( return_to_dir );
% After connect, also add the folder with your data like this
% va.add
\ No newline at end of file
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