Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Institute of Technical Acoustics (ITA)
VAMatlab
Commits
43132ccd
Commit
43132ccd
authored
Oct 25, 2016
by
Dipl.-Ing. Jonas Stienen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
itaVA deploy fixes in proto file
parent
59b5f3ac
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
matlab/itaVA_build.m.proto
matlab/itaVA_build.m.proto
+4
-4
No files found.
matlab/itaVA_build.m.proto
View file @
43132ccd
...
...
@@ -18,14 +18,14 @@ if exist( deploy_dir, 'dir' ) ~= 7
error
(
'Deploy dir ''%s'' does not exist. Please build and install VAMatlab first.'
,
deploy_dir
)
end
if
exist
(
'VAMatlab'
,
'file'
)
if
exist
(
[
'VAMatlab'
mexext
]
,
'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
and
attempt
to
move
lib
to
bin
dir
addpath
(
script_dir
,
bin
_dir
)
addpath
(
script_dir
,
deploy
_dir
)
[
s
]
=
movefile
(
fullfile
(
lib_dir
,
'VAMatlab*'
),
bin
_dir
);
if
~
s
&&
~
exist
(
'VAMatlab'
,
'file'
)
[
s
]
=
movefile
(
fullfile
(
lib_dir
,
'VAMatlab*'
),
deploy
_dir
);
if
~
s
&&
~
exist
(
[
'VAMatlab'
mexext
]
,
'file'
)
error
(
'Could locate VAMatlab executable. Please make sure that it can be found.'
)
end
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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