Squashed 'third_party/ct/' content from commit 0048d02
Change-Id: Ia7e5360cbb414f92ce4f118bd9613ea23597db52
git-subtree-dir: third_party/ct
git-subtree-split: 0048d027531b6cf1ea730da17b68a0b7ef9070b1
diff --git a/ct_optcon/include/ct/optcon/matlab.hpp b/ct_optcon/include/ct/optcon/matlab.hpp
new file mode 100644
index 0000000..7f3fe1c
--- /dev/null
+++ b/ct_optcon/include/ct/optcon/matlab.hpp
@@ -0,0 +1,24 @@
+/**********************************************************************************************************************
+This file is part of the Control Toolbox (https://adrlab.bitbucket.io/ct), copyright by ETH Zurich, Google Inc.
+Authors: Michael Neunert, Markus Giftthaler, Markus Stäuble, Diego Pardo, Farbod Farshidian
+Licensed under Apache2 license (see LICENSE file in main directory)
+**********************************************************************************************************************/
+
+#pragma once
+
+#ifdef MATLAB_FULL_LOG
+#define MATLAB
+#endif // MATLAB_FULL_LOG
+
+#ifdef MATLAB
+#include <matlabCppInterface/MatFile.hpp>
+#else //MATLAB
+namespace matlab {
+//! a dummy class which is created for compatibility reasons if the MATLAB flag is not set.
+class MatFile
+{
+public:
+ MatFile() {}
+};
+} // namespace matlab
+#endif //MATLAB