Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
f3bdbf3b
Commit
f3bdbf3b
authored
Dec 19, 2014
by
Davis King
Browse files
Added license statements and also converted line endings to unix format
parent
d8dc5965
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
2878 additions
and
2873 deletions
+2878
-2873
dlib/matlab/CMakeLists.txt
dlib/matlab/CMakeLists.txt
+15
-15
dlib/matlab/README.txt
dlib/matlab/README.txt
+20
-20
dlib/matlab/call_matlab.h
dlib/matlab/call_matlab.h
+458
-458
dlib/matlab/cmake_mex_wrapper
dlib/matlab/cmake_mex_wrapper
+70
-70
dlib/matlab/example_mex_callback.cpp
dlib/matlab/example_mex_callback.cpp
+52
-51
dlib/matlab/example_mex_function.cpp
dlib/matlab/example_mex_function.cpp
+72
-71
dlib/matlab/mex_wrapper.cpp
dlib/matlab/mex_wrapper.cpp
+2191
-2188
No files found.
dlib/matlab/CMakeLists.txt
View file @
f3bdbf3b
dlib/matlab/README.txt
View file @
f3bdbf3b
dlib/matlab/call_matlab.h
View file @
f3bdbf3b
dlib/matlab/cmake_mex_wrapper
View file @
f3bdbf3b
# This file figure
d
out where MATLAB is and then defines a macro, add_mex_function(name)
# This file figure
s
out where MATLAB is and then defines a macro, add_mex_function(name)
# which when called instructs CMake to build a mex file from a file called name.cpp. Note
# which when called instructs CMake to build a mex file from a file called name.cpp. Note
# that additional library dependencies can be added like this: add_mex_function(name lib1 dlib libetc).
# that additional library dependencies can be added like this: add_mex_function(name lib1 dlib libetc).
# That is, just add more libraries after the name and they will be build into the mex file.
# That is, just add more libraries after the name and they will be build into the mex file.
...
...
dlib/matlab/example_mex_callback.cpp
View file @
f3bdbf3b
// The contents of this file are in the public domain. See LICENSE_FOR_EXAMPLE_PROGRAMS.txt
#include "call_matlab.h"
#include "call_matlab.h"
#include "dlib/matrix.h"
#include "dlib/matrix.h"
...
...
dlib/matlab/example_mex_function.cpp
View file @
f3bdbf3b
// The contents of this file are in the public domain. See LICENSE_FOR_EXAMPLE_PROGRAMS.txt
#include "dlib/matrix.h"
#include "dlib/matrix.h"
using
namespace
dlib
;
using
namespace
dlib
;
...
...
dlib/matlab/mex_wrapper.cpp
View file @
f3bdbf3b
// Copyright (C) 2012 Massachusetts Institute of Technology, Lincoln Laboratory
// License: Boost Software License See LICENSE.txt for the full license.
// Authors: Davis E. King (davis@dlib.net)
/*
/*
READ THIS FIRST
READ THIS FIRST
######
######
...
...
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