Aufgrund einer Störung des s3 Storage, könnten in nächster Zeit folgende GitLab Funktionen nicht zur Verfügung stehen: LFS, Container Registry, Job Artifacs, Uploads (Wiki, Bilder, Projekt-Exporte). Wir bitten um Verständnis. Es wird mit Hochdruck an der Behebung des Problems gearbeitet. Weitere Informationen zur Störung des Object Storage finden Sie hier: https://maintenance.itc.rwth-aachen.de/ticket/status/messages/59-object-storage-pilot

Commit 2674f942 authored by Dipl.-Ing. Jonas Stienen's avatar Dipl.-Ing. Jonas Stienen
Browse files

Improving itaVA install process

parent 8b95abce
......@@ -34,12 +34,13 @@ end
if exist( 'VAMatlab', 'file' )
warning( 'VAMatlab already found at location "%s", are you sure to build itaVA against this executable? Will proceed now.', which( 'VAMatlab' ) )
else
% Add to PATH temporarily
addpath( script_dir, deploy_dir, lib_dir )
% Add to PATH temporarily and move lib to bin dir
movefile( fullfile( lib_dir, 'VAMatlab*' ), deploy_dir );
addpath( script_dir, deploy_dir )
end
% Parameters
templateFile = 'itaVA.proto.m';
templateFile = 'itaVA.m.proto';
outputFile = fullfile( script_dir, 'itaVA.m' );
if exist( script_dir, 'dir' ) ~= 7
mkdir( script_dir );
......@@ -58,6 +59,9 @@ fclose( fid );
fprintf( 'Matlab class ''%s'' successfully built\n', outputFile );
% Install examples
copyfile( 'itaVA_example*', script_dir );
% Remove from MATLABPATH (otherwise naming conflicts may occur with
% ITA-Toolbox/applications/VirtualAcoustics/VA/* scripts)
rmpath( script_dir, deploy_dir, lib_dir )
rmpath( script_dir, deploy_dir )
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