<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hi Andrew,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
To add to the information on the website, this is what in total solved the problem. I think step 1 and possibly step two aren't necessary, but this total process did the trick for me. </div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<p style="margin: 0cm 0cm 0.0001pt 36pt; font-size: 12pt; font-family: Times;margin-bottom:0cm;margin-bottom:.0001pt;
mso-add-space:auto;text-indent:-18.0pt;mso-list:l0 level1 lfo1">
<span lang="EN-GB" style="mso-fareast-font-family:Times;mso-bidi-font-family:Times;
mso-ansi-language:EN-GB"><span style="mso-list:Ignore">1.<span style="font:7.0pt "Times New Roman"">
</span></span></span><span lang="EN-GB" style="mso-ansi-language:EN-GB">Download the program Xcode from the Applestore (free of charge)</span></p>
<p style="margin: 0cm 0cm 0.0001pt 36pt; font-size: 12pt; font-family: Times;margin-bottom:0cm;margin-bottom:
.0001pt;mso-add-space:auto;text-indent:-18.0pt;mso-list:l0 level1 lfo1">
<span lang="EN-GB" style="mso-fareast-font-family:Times;mso-bidi-font-family:Times;
mso-ansi-language:EN-GB"><span style="mso-list:Ignore">2.<span style="font:7.0pt "Times New Roman"">
</span></span></span><span lang="EN-GB" style="mso-ansi-language:EN-GB">Copy in the Matlab command window the following code: ft_compile_mex</span></p>
<p style="margin: 0cm 0cm 0.0001pt 36pt; font-size: 12pt; font-family: Times;margin-bottom:0cm;margin-bottom:
.0001pt;mso-add-space:auto;text-indent:-18.0pt;mso-list:l0 level1 lfo1">
<span lang="EN-GB" style="mso-fareast-font-family:Times;mso-bidi-font-family:Times;
mso-ansi-language:EN-GB"><span style="mso-list:Ignore">3.<span style="font:7.0pt "Times New Roman"">
</span></span></span><span lang="EN-GB" style="mso-ansi-language:EN-GB">Open a terminal and copy the following code (where
</span><span style="mso-ansi-language:#0C00">LOCATION_OF_FIELDTRIP is the </span>
<span lang="EN-US">direction to</span><span style="mso-ansi-language:
#0C00"> FieldTrip</span><span lang="EN-US">)</span><span lang="EN-GB" style="mso-ansi-language:EN-GB">, and type your computer password when a password is asked for in the terminal</span></p>
<p style="margin: 0cm 0cm 10pt 36pt; font-size: 12pt; font-family: Times;margin-bottom:0cm;margin-bottom:.0001pt;
mso-add-space:auto">
<span style="font-size:8.5pt;font-family:"Andale Mono";
mso-fareast-font-family:"Times New Roman";color:#201F1E;background:white;
mso-ansi-language:#0C00;mso-fareast-language:EN-GB">sudo xattr -r -d com.apple.quarantine
</span><span lang="EN-US" style="font-size:8.5pt;font-family:
"Andale Mono";mso-fareast-font-family:"Times New Roman";color:#201F1E;
background:white;mso-fareast-language:EN-GB">LOCATION_OF_FIELDTRIP</span> </p>
<p style="margin: 0cm 0cm 0.0001pt 36pt; font-size: 12pt; font-family: Times;margin-bottom:0cm;margin-bottom:
.0001pt;mso-add-space:auto;text-indent:-18.0pt;mso-list:l0 level1 lfo1">
<span lang="EN-GB" style="mso-fareast-font-family:Times;mso-bidi-font-family:Times;
mso-ansi-language:EN-GB"><span style="mso-list:Ignore">4.<span style="font:7.0pt "Times New Roman"">
</span></span></span><span lang="EN-GB" style="mso-ansi-language:EN-GB">Copy the following code in the terminal</span></p>
<p style="margin: 0cm 0cm 10pt 36pt; font-size: 12pt; font-family: Times;margin-bottom:0cm;margin-bottom:.0001pt;
mso-add-space:auto;tab-stops:45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;
background:#F0F0F0">
<span lang="EN-US" style="font-size:10.0pt;font-family:Menlo;
mso-fareast-font-family:"Times New Roman";color:#212529;mso-fareast-language:
EN-GB">sudo
</span><span style="font-size:10.0pt;font-family:Menlo;mso-fareast-font-family:
"Times New Roman";color:#212529;mso-ansi-language:#0C00;mso-fareast-language:
EN-GB">find LOCATION_OF_FIELDTRIP
</span><b><span style="font-size:10.0pt;
font-family:Menlo;mso-fareast-font-family:"Times New Roman";color:#062873;
mso-ansi-language:#0C00;mso-fareast-language:EN-GB">-name</span></b><span style="font-size:10.0pt;font-family:Menlo;mso-fareast-font-family:"Times New Roman";
color:#212529;mso-ansi-language:#0C00;mso-fareast-language:EN-GB">
</span><span lang="EN-US" style="font-size:10.0pt;font-family:Menlo;mso-fareast-font-family:
"Times New Roman";color:#212529;mso-fareast-language:EN-GB">\*</span><span style="font-size:10.0pt;font-family:Menlo;mso-fareast-font-family:"Times New Roman";
color:#212529;mso-ansi-language:#0C00;mso-fareast-language:EN-GB">.mex</span><span lang="EN-US" style="font-size:10.0pt;font-family:Menlo;mso-fareast-font-family:
"Times New Roman";color:#212529;mso-fareast-language:EN-GB">\*</span><span lang="EN-US" style="font-size:10.0pt;font-family:Menlo;mso-fareast-font-family:
"Times New Roman";color:#212529;mso-ansi-language:#0C00;mso-fareast-language:
EN-GB">
</span><b><span style="font-size:10.0pt;font-family:Menlo;mso-fareast-font-family:
"Times New Roman";color:#062873;mso-ansi-language:#0C00;mso-fareast-language:
EN-GB">-exec</span></b><span style="font-size:10.0pt;font-family:Menlo;
mso-fareast-font-family:"Times New Roman";color:#212529;mso-ansi-language:#0C00;
mso-fareast-language:EN-GB">
spctl </span><b><span style="font-size:10.0pt;
font-family:Menlo;mso-fareast-font-family:"Times New Roman";color:#062873;
mso-ansi-language:#0C00;mso-fareast-language:EN-GB">--add</span></b><span style="font-size:10.0pt;font-family:Menlo;mso-fareast-font-family:"Times New Roman";
color:#212529;mso-ansi-language:#0C00;mso-fareast-language:EN-GB">
</span><span style="font-size:10.0pt;font-family:Menlo;mso-fareast-font-family:"Times New Roman";
color:#666666;mso-ansi-language:#0C00;mso-fareast-language:EN-GB">{}</span><span style="font-size:10.0pt;font-family:Menlo;mso-fareast-font-family:"Times New Roman";
color:#212529;mso-ansi-language:#0C00;mso-fareast-language:EN-GB">
</span><b><span style="font-size:10.0pt;font-family:Menlo;mso-fareast-font-family:"Times New Roman";
color:#4070A0;mso-ansi-language:#0C00;mso-fareast-language:EN-GB">\;</span></b></p>
<p style="margin: 0cm 0cm 10pt; font-size: 12pt; font-family: Times;margin-top:0cm;margin-right:0cm;margin-bottom:0cm;
margin-left:72.0pt;margin-bottom:.0001pt">
<br>
</p>
Best,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Carlijn</div>
<div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div id="Signature">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px"><font size="1"><span style="font-size:10pt">Dr. Carlijn van den Boomen | Departments of Developmental and Experimental Psychology | Utrecht University | Langeveld Building - room H066 | Heidelberglaan 1 | 3584
CS Utrecht | the Netherlands | phone: +31(30) 253 1266 | fax: +31(30) 253 4511</span></font></div>
</div>
</div>
</div>
</div>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> fieldtrip <fieldtrip-bounces@science.ru.nl> on behalf of Andrew Janke <floss@apjanke.net><br>
<b>Sent:</b> 29 May 2020 09:30<br>
<b>To:</b> FieldTrip discussion list <fieldtrip@science.ru.nl><br>
<b>Subject:</b> [FieldTrip] MEX compilation failure under R2020a on macOS 10.14</font>
<div> </div>
</div>
<div>Hi, FieldTrip folks,<br>
<br>
I'm running FieldTrip under Matlab R2020a on macOS 10.14.6 with Xcode 11.3.1.<br>
<br>
When I try to recompile all the MEX files, I got some warnings and a compilation error.<br>
<br>
Any ideas? Maybe this MATRIX_DLL_EXPORT_SYM hack is no longer working under R2020a and recent versions? From src/mxSerialize_cpp.cpp:
<br>
<br>
<div style="color:#333333; background-color:#fdf6e3; font-family:Menlo,Monaco,'Courier New',monospace; font-weight:normal; font-size:12px; line-height:18px; white-space:pre">
<div><span style="color:#93a1a1; font-style:italic">// MX_API_VER has unfortunately not changed between R2013b and R2014a,</span></div>
<div><span style="color:#93a1a1; font-style:italic">// so we use the new MATRIX_DLL_EXPORT_SYM as an ugly hack instead</span></div>
<div><span style="color:#859900">#if</span><span style="color:#b58900"> </span><span style="color:#859900">defined</span><span style="color:#b58900">(</span><span style="color:#268bd2">__cplusplus</span><span style="color:#b58900">)
</span><span style="color:#859900">&&</span><span style="color:#b58900"> </span><span style="color:#859900">defined</span><span style="color:#b58900">(</span><span style="color:#268bd2">MATRIX_DLL_EXPORT_SYM</span><span style="color:#b58900">)</span></div>
<div><span style="color:#b58900"></span><span style="color:#859900">#define</span><span style="color:#b58900">
</span><span style="color:#268bd2">EXTERN_C</span><span style="color:#b58900"> </span>
<span style="color:#073642; font-weight:bold">extern</span></div>
<div><span style="color:#333333"></span><span style="color:#073642; font-weight:bold">namespace</span><span style="color:#333333">
</span><span style="color:#268bd2">matrix</span><span style="color:#333333">{ </span>
<span style="color:#073642; font-weight:bold">namespace</span><span style="color:#333333">
</span><span style="color:#268bd2">detail</span><span style="color:#333333">{ </span>
<span style="color:#073642; font-weight:bold">namespace</span><span style="color:#333333">
</span><span style="color:#268bd2">noninlined</span><span style="color:#333333">{
</span><span style="color:#073642; font-weight:bold">namespace</span><span style="color:#333333">
</span><span style="color:#268bd2">mx_array_api</span><span style="color:#333333">{</span></div>
<div><span style="color:#859900">#endif</span></div>
</div>
<br>
<br>
This is not urgent – I'm not actually using FieldTrip for work; just playing around with it after I saw Carlijn Boomen's compilation problems.<br>
<br>
Perhaps this is related to the new C++ and interleaved-complex MEX APIs that Matlab introduced recently?<br>
<br>
Details:<br>
<br>
>> addpath ~/local/repos/fieldtrip/<br>
>> cd ~/local/repos/fieldtrip/utilities<br>
>> !git log --oneline | head -10<br>
36193a97a updated test scripts, the cfg.sourcemodel should also have a label if it contains a filter. Select only MEG channels for source analysis with pre-computed leadfield.<br>
0e3a52de5 fixed bug in selection of optode channels that was intrpduced with the recent #1377<br>
6325434a6 automatically synchronized identical files to 0fe5399736d832b3206e778603e6427f7bd829fa<br>
0fe539973 fixed multiple regression errors due to PR #1377, mostly related to sloppy data bookkeeping<br>
6dac9ac18 automatically synchronized identical files to b79f65a9e7284c0f244f3c52875ba9f7479932fd<br>
b79f65a9e improve ft_sourceanalysis flexbility to work with pre-computed leadfields (#1377)<br>
b4d569823 Update feature_request.md<br>
49b433569 Update bug_report.md<br>
606c7d67e Update feature_request.md<br>
a48f337db Update bug_report.md<br>
>> ft_compile_mex(true)<br>
Compiling MEX file compat/matlablt2010b/@uint64/abs ...<br>
Building with 'Xcode with Clang'.<br>
MEX completed successfully.<br>
Compiling MEX file compat/matlablt2010b/@uint64/min ...<br>
Building with 'Xcode with Clang'.<br>
MEX completed successfully.<br>
Compiling MEX file compat/matlablt2010b/@uint64/max ...<br>
Building with 'Xcode with Clang'.<br>
MEX completed successfully.<br>
Compiling MEX file compat/matlablt2010b/@uint64/plus ...<br>
Building with 'Xcode with Clang'.<br>
MEX completed successfully.<br>
Compiling MEX file compat/matlablt2010b/@uint64/minus ...<br>
Building with 'Xcode with Clang'.<br>
MEX completed successfully.<br>
Compiling MEX file compat/matlablt2010b/@uint64/times ...<br>
Building with 'Xcode with Clang'.<br>
MEX completed successfully.<br>
Compiling MEX file compat/matlablt2010b/@uint64/rdivide ...<br>
Building with 'Xcode with Clang'.<br>
MEX completed successfully.<br>
Compiling MEX file @config/private/deepcopy ...<br>
Building with 'Xcode with Clang'.<br>
MEX completed successfully.<br>
Compiling MEX file @config/private/increment ...<br>
Building with 'Xcode with Clang'.<br>
MEX completed successfully.<br>
Compiling MEX file @config/private/setzero ...<br>
Building with 'Xcode with Clang'.<br>
MEX completed successfully.<br>
Compiling MEX file realtime/online_mri/ft_omri_smooth_volume ...<br>
Building with 'Xcode with Clang'.<br>
MEX completed successfully.<br>
Compiling MEX file realtime/src/acquisition/siemens/src/sap2matlab ...<br>
Building with 'Xcode with Clang'.<br>
/Users/janke/local/repos/fieldtrip/realtime/src/acquisition/siemens/src/sap2matlab.c:33:10: warning: enumeration value 'SAP_ARRAY_SIZE' not handled in switch [-Wswitch]<br>
switch(item->type) {<br>
^<br>
/Users/janke/local/repos/fieldtrip/realtime/src/acquisition/siemens/src/sap2matlab.c:33:10: note: add missing switch cases<br>
switch(item->type) {<br>
^<br>
1 warning generated.<br>
<br>
/Users/janke/local/repos/fieldtrip/realtime/src/acquisition/siemens/src/siemensap.c:323:12: warning: enumeration value 'SAP_ARRAY_SIZE' not handled in switch [-Wswitch]<br>
switch(typ) {<br>
^<br>
/Users/janke/local/repos/fieldtrip/realtime/src/acquisition/siemens/src/siemensap.c:323:12: note: add missing switch cases<br>
switch(typ) {<br>
^<br>
/Users/janke/local/repos/fieldtrip/realtime/src/acquisition/siemens/src/siemensap.c:436:20: warning: enumeration value 'SAP_ARRAY_SIZE' not handled in switch [-Wswitch]<br>
switch(item->type) {<br>
^<br>
/Users/janke/local/repos/fieldtrip/realtime/src/acquisition/siemens/src/siemensap.c:436:20: note: add missing switch cases<br>
switch(item->type) {<br>
^<br>
2 warnings generated.<br>
<br>
MEX completed successfully.<br>
Compiling MEX file src/ft_getopt ...<br>
Building with 'Xcode with Clang'.<br>
MEX completed successfully.<br>
Compiling MEX file src/read_16bit ...<br>
Building with 'Xcode with Clang'.<br>
MEX completed successfully.<br>
Compiling MEX file src/read_24bit ...<br>
Building with 'Xcode with Clang'.<br>
MEX completed successfully.<br>
Compiling MEX file src/lmoutr ...<br>
Building with 'Xcode with Clang'.<br>
/Users/janke/local/repos/fieldtrip/src/geometry.c:176:15: warning: implicit declaration of function 'mxGetNaN' is invalid in C99 [-Wimplicit-function-declaration]<br>
proj[0] = mxGetNaN();<br>
^<br>
/Users/janke/local/repos/fieldtrip/src/geometry.c:219:11: warning: implicit declaration of function 'mxGetNaN' is invalid in C99 [-Wimplicit-function-declaration]<br>
*la = mxGetNaN();<br>
^<br>
2 warnings generated.<br>
<br>
MEX completed successfully.<br>
Compiling MEX file src/ltrisect ...<br>
Building with 'Xcode with Clang'.<br>
/Users/janke/local/repos/fieldtrip/src/geometry.c:176:15: warning: implicit declaration of function 'mxGetNaN' is invalid in C99 [-Wimplicit-function-declaration]<br>
proj[0] = mxGetNaN();<br>
^<br>
/Users/janke/local/repos/fieldtrip/src/geometry.c:219:11: warning: implicit declaration of function 'mxGetNaN' is invalid in C99 [-Wimplicit-function-declaration]<br>
*la = mxGetNaN();<br>
^<br>
2 warnings generated.<br>
<br>
MEX completed successfully.<br>
Compiling MEX file src/plinproj ...<br>
Building with 'Xcode with Clang'.<br>
/Users/janke/local/repos/fieldtrip/src/geometry.c:176:15: warning: implicit declaration of function 'mxGetNaN' is invalid in C99 [-Wimplicit-function-declaration]<br>
proj[0] = mxGetNaN();<br>
^<br>
/Users/janke/local/repos/fieldtrip/src/geometry.c:219:11: warning: implicit declaration of function 'mxGetNaN' is invalid in C99 [-Wimplicit-function-declaration]<br>
*la = mxGetNaN();<br>
^<br>
2 warnings generated.<br>
<br>
MEX completed successfully.<br>
Compiling MEX file src/ptriproj ...<br>
Building with 'Xcode with Clang'.<br>
/Users/janke/local/repos/fieldtrip/src/geometry.c:176:15: warning: implicit declaration of function 'mxGetNaN' is invalid in C99 [-Wimplicit-function-declaration]<br>
proj[0] = mxGetNaN();<br>
^<br>
/Users/janke/local/repos/fieldtrip/src/geometry.c:219:11: warning: implicit declaration of function 'mxGetNaN' is invalid in C99 [-Wimplicit-function-declaration]<br>
*la = mxGetNaN();<br>
^<br>
2 warnings generated.<br>
<br>
MEX completed successfully.<br>
Compiling MEX file src/routlm ...<br>
Building with 'Xcode with Clang'.<br>
/Users/janke/local/repos/fieldtrip/src/geometry.c:176:15: warning: implicit declaration of function 'mxGetNaN' is invalid in C99 [-Wimplicit-function-declaration]<br>
proj[0] = mxGetNaN();<br>
^<br>
/Users/janke/local/repos/fieldtrip/src/geometry.c:219:11: warning: implicit declaration of function 'mxGetNaN' is invalid in C99 [-Wimplicit-function-declaration]<br>
*la = mxGetNaN();<br>
^<br>
2 warnings generated.<br>
<br>
MEX completed successfully.<br>
Compiling MEX file src/solid_angle ...<br>
Building with 'Xcode with Clang'.<br>
/Users/janke/local/repos/fieldtrip/src/geometry.c:176:15: warning: implicit declaration of function 'mxGetNaN' is invalid in C99 [-Wimplicit-function-declaration]<br>
proj[0] = mxGetNaN();<br>
^<br>
/Users/janke/local/repos/fieldtrip/src/geometry.c:219:11: warning: implicit declaration of function 'mxGetNaN' is invalid in C99 [-Wimplicit-function-declaration]<br>
*la = mxGetNaN();<br>
^<br>
2 warnings generated.<br>
<br>
MEX completed successfully.<br>
Compiling MEX file src/rfbevent ...<br>
Building with 'Xcode with Clang'.<br>
MEX completed successfully.<br>
Compiling MEX file src/meg_leadfield1 ...<br>
Building with 'Xcode with Clang'.<br>
MEX completed successfully.<br>
Compiling MEX file src/splint_gh ...<br>
Building with 'Xcode with Clang'.<br>
MEX completed successfully.<br>
Compiling MEX file src/plgndr ...<br>
Building with 'Xcode with Clang'.<br>
MEX completed successfully.<br>
Compiling MEX file src/ft_spike_sub_crossx ...<br>
Building with 'Xcode with Clang'.<br>
MEX completed successfully.<br>
Compiling MEX file src/rename ...<br>
Building with 'Xcode with Clang'.<br>
MEX completed successfully.<br>
Compiling MEX file src/getpid ...<br>
Building with 'Xcode with Clang'.<br>
MEX completed successfully.<br>
Compiling MEX file src/nanmean ...<br>
Building with 'Xcode with Clang'.<br>
MEX completed successfully.<br>
Compiling MEX file src/nanstd ...<br>
Building with 'Xcode with Clang'.<br>
MEX completed successfully.<br>
Compiling MEX file src/nanvar ...<br>
Building with 'Xcode with Clang'.<br>
MEX completed successfully.<br>
Compiling MEX file src/nansum ...<br>
Building with 'Xcode with Clang'.<br>
MEX completed successfully.<br>
Compiling MEX file src/nanstd ...<br>
Building with 'Xcode with Clang'.<br>
MEX completed successfully.<br>
Compiling MEX file src/det2x2 ...<br>
Building with 'Xcode with Clang'.<br>
MEX completed successfully.<br>
Compiling MEX file src/inv2x2 ...<br>
Building with 'Xcode with Clang'.<br>
MEX completed successfully.<br>
Compiling MEX file src/mtimes2x2 ...<br>
Building with 'Xcode with Clang'.<br>
MEX completed successfully.<br>
Compiling MEX file src/sandwich2x2 ...<br>
Building with 'Xcode with Clang'.<br>
MEX completed successfully.<br>
Compiling MEX file src/combineClusters ...<br>
Building with 'Xcode Clang++'.<br>
MEX completed successfully.<br>
Compiling MEX file external/fileexchange/CalcMD5 ...<br>
Building with 'Xcode with Clang'.<br>
MEX completed successfully.<br>
Compiling MEX file src/mxSerialize_cpp ...<br>
Building with 'Xcode Clang++'.<br>
Error using mex<br>
/Users/janke/local/repos/fieldtrip/src/mxSerialize_cpp.cpp:10:1: error: unknown type name 'EXTERN_C'<br>
EXTERN_C mxArray* mxSerialize(mxArray const *);<br>
^<br>
/Users/janke/local/repos/fieldtrip/src/mxSerialize_cpp.cpp:10:17: error: expected ';' after top level declarator<br>
EXTERN_C mxArray* mxSerialize(mxArray const *);<br>
^<br>
;<br>
/Users/janke/local/repos/fieldtrip/src/mxSerialize_cpp.cpp:11:1: error: unknown type name 'EXTERN_C'<br>
EXTERN_C mxArray* mxDeserialize(const void *, size_t);<br>
^<br>
/Users/janke/local/repos/fieldtrip/src/mxSerialize_cpp.cpp:11:17: error: expected ';' after top level declarator<br>
EXTERN_C mxArray* mxDeserialize(const void *, size_t);<br>
^<br>
;<br>
/Users/janke/local/repos/fieldtrip/src/mxSerialize_cpp.cpp:22:31: error: use of undeclared identifier 'mxSerialize'<br>
plhs[0] = (mxArray *) mxSerialize(prhs[0]);<br>
^<br>
5 errors generated.<br>
<br>
Error in ft_compile_mex>compile_mex_list (line 217)<br>
eval(cmd);<br>
Error in ft_compile_mex (line 114)<br>
compile_mex_list(L, ftpath, force); <br>
>> ver<br>
-----------------------------------------------------------------------------------------------------<br>
MATLAB Version: 9.8.0.1323502 (R2020a)<br>
MATLAB License Number: 973906<br>
Operating System: Mac OS X Version: 10.14.6 Build: 18G4032 <br>
Java Version: Java 1.8.0_202-b08 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode<br>
-----------------------------------------------------------------------------------------------------<br>
MATLAB Version 9.8 (R2020a)
<br>
Database Toolbox Version 9.2.1 (R2020a)
<br>
FieldTrip Version unknown <a class="x_moz-txt-link-abbreviated" href="http://www.fieldtriptoolbox.org">
www.fieldtriptoolbox.org</a><br>
Financial Toolbox Version 5.15 (R2020a)
<br>
Optimization Toolbox Version 8.5 (R2020a)
<br>
Statistics and Machine Learning Toolbox Version 11.7 (R2020a)
<br>
>> <br>
<br>
Cheers,<br>
Andrew<br>
</div>
</body>
</html>