We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e5facf commit e034568Copy full SHA for e034568
utilities/ft_compile_mex.m
@@ -110,10 +110,14 @@ function ft_compile_mex(force)
110
% use the C interface
111
L = add_mex_source(L,'src','mxSerialize_c');
112
L = add_mex_source(L,'src','mxDeserialize_c');
113
-else
+elseif ft_platform_supports('matlabversion',-inf,'2014a')
114
% use the C++ interface
115
L = add_mex_source(L,'src','mxSerialize_cpp');
116
L = add_mex_source(L,'src','mxDeserialize_cpp');
117
+else
118
+ % the undocumented built-in mxSerialize.c does not exist anymore in versions
119
+ % >2014a, so the source file cannot be compiled. See issue #2491 on github (which
120
+ % provides a link to another solution, also relying on undocumented matlab)
121
end
122
123
oldDir = pwd;
0 commit comments