Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Institute of Technical Acoustics (ITA)
toolbox
Commits
c351bc86
Commit
c351bc86
authored
Oct 26, 2016
by
Jonas Stienen
Browse files
Adding itaVA server start script example
parent
8e82dc51
Changes
1
Hide whitespace changes
Inline
Side-by-side
applications/VirtualAcoustics/VA/itaVA_start_server.m
0 → 100644
View file @
c351bc86
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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment