<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Hello,</p>
<p>As far as I know, you should not mex ec_slave3.c. Instead, you
just need to update the (old) version of the file as was installed
by Etherlab with a newer one. The file is automatically used
during the build process in Simulink.<br>
</p>
<p>See
<a class="moz-txt-link-freetext" href="https://www.symbitron.eu/wiki/index.php?title=EtherLab_Installation">https://www.symbitron.eu/wiki/index.php?title=EtherLab_Installation</a>
, there's a small section on that.</p>
<p>Please report if this helps for you.</p>
<p>Best,</p>
<p>Gijs van Oort</p>
<div class="moz-cite-prefix">On 03-7-2018 16:00, Hasan atieh wrote:<br>
</div>
<blockquote
cite="mid:AM5PR0402MB28365D00714B5EB5ACF10C76BB420@AM5PR0402MB2836.eurprd04.prod.outlook.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0in;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";}
tt
{mso-style-priority:99;
font-family:"Courier New";}
span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:"Courier New";}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style>
<div class="WordSection1">
<p class="MsoNormal"><b>Hello,<o:p></o:p></b></p>
<p class="MsoNormal"><b>I know that before building the Simulink
model I have to run the following command:<o:p></o:p></b></p>
<p class="MsoNormal"><b>“mex ec_slave3.c” <o:p></o:p></b></p>
<p class="MsoNormal"><b>So when I do that I get the long list of
errors below. I saw that someone faced this problem too but
I saw no response to his mail.<o:p></o:p></b></p>
<p class="MsoNormal"><b>I am using MATLAB 2017b & the
current version of etherlab which is etherlab2.1.0.<o:p></o:p></b></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Error using mex </p>
<p class="MsoNormal">ec_slave3.c</p>
<p class="MsoNormal">C:\Users\hasan\Desktop\Programs\Matlab\EtherLab\etherlab-2.1.0\rtw\blocks\EtherCAT\ec_slave3.c(217):</p>
<p class="MsoNormal">warning C4005: 'max': macro redefinition</p>
<p class="MsoNormal">C:\Program Files (x86)\Windows
Kits\10\\include\10.0.17134.0\ucrt\stdlib.h(1289): note: see
previous</p>
<p class="MsoNormal">definition of 'max'</p>
<p class="MsoNormal">C:\Users\hasan\Desktop\Programs\Matlab\EtherLab\etherlab-2.1.0\rtw\blocks\EtherCAT\ec_slave3.c(337):
error</p>
<p class="MsoNormal">C2084: function 'int vsnprintf(char *const
,const size_t,const char *const ,va_list)' already has a body</p>
<p class="MsoNormal">C:\Program Files (x86)\Windows
Kits\10\\include\10.0.17134.0\ucrt\stdio.h(1430): note: see
previous</p>
<p class="MsoNormal">definition of 'vsnprintf'</p>
<p class="MsoNormal">C:\Users\hasan\Desktop\Programs\Matlab\EtherLab\etherlab-2.1.0\rtw\blocks\EtherCAT\ec_slave3.c(354):
error</p>
<p class="MsoNormal">C2084: function 'int snprintf(char *const
,const size_t,const char *const ,...)' already has a body</p>
<p class="MsoNormal">C:\Program Files (x86)\Windows
Kits\10\\include\10.0.17134.0\ucrt\stdio.h(1940): note: see
previous</p>
<p class="MsoNormal">definition of 'snprintf'</p>
<p class="MsoNormal">C:\Users\hasan\Desktop\Programs\Matlab\EtherLab\etherlab-2.1.0\rtw\blocks\EtherCAT\ec_slave3.c(557):</p>
<p class="MsoNormal">warning C4267: '=': conversion from
'size_t' to 'uint_T', possible loss of data</p>
<p class="MsoNormal">C:\Users\hasan\Desktop\Programs\Matlab\EtherLab\etherlab-2.1.0\rtw\blocks\EtherCAT\ec_slave3.c(576):</p>
<p class="MsoNormal">warning C4267: '=': conversion from
'size_t' to 'uint_T', possible loss of data</p>
<p class="MsoNormal">C:\Users\hasan\Desktop\Programs\Matlab\EtherLab\etherlab-2.1.0\rtw\blocks\EtherCAT\ec_slave3.c(632):</p>
<p class="MsoNormal">warning C4244: '=': conversion from
'real_T' to 'uint_T', possible loss of data</p>
<p class="MsoNormal">C:\Users\hasan\Desktop\Programs\Matlab\EtherLab\etherlab-2.1.0\rtw\blocks\EtherCAT\ec_slave3.c(636):</p>
<p class="MsoNormal">warning C4244: '=': conversion from
'real_T' to 'uint_T', possible loss of data</p>
<p class="MsoNormal">C:\Users\hasan\Desktop\Programs\Matlab\EtherLab\etherlab-2.1.0\rtw\blocks\EtherCAT\ec_slave3.c(640):</p>
<p class="MsoNormal">warning C4244: '=': conversion from
'real_T' to 'uint_T', possible loss of data</p>
<p class="MsoNormal">C:\Users\hasan\Desktop\Programs\Matlab\EtherLab\etherlab-2.1.0\rtw\blocks\EtherCAT\ec_slave3.c(644):</p>
<p class="MsoNormal">warning C4244: '=': conversion from
'real_T' to 'uint_T', possible loss of data</p>
<p class="MsoNormal">C:\Users\hasan\Desktop\Programs\Matlab\EtherLab\etherlab-2.1.0\rtw\blocks\EtherCAT\ec_slave3.c(673):</p>
<p class="MsoNormal">warning C4244: '=': conversion from
'real_T' to 'uint16_T', possible loss of data</p>
<p class="MsoNormal">C:\Users\hasan\Desktop\Programs\Matlab\EtherLab\etherlab-2.1.0\rtw\blocks\EtherCAT\ec_slave3.c(677):</p>
<p class="MsoNormal">warning C4267: '=': conversion from
'size_t' to 'uint_T', possible loss of data</p>
<p class="MsoNormal">C:\Users\hasan\Desktop\Programs\Matlab\EtherLab\etherlab-2.1.0\rtw\blocks\EtherCAT\ec_slave3.c(696):</p>
<p class="MsoNormal">warning C4244: '=': conversion from 'const
real_T' to 'uint16_T', possible loss of data</p>
<p class="MsoNormal">C:\Users\hasan\Desktop\Programs\Matlab\EtherLab\etherlab-2.1.0\rtw\blocks\EtherCAT\ec_slave3.c(697):</p>
<p class="MsoNormal">warning C4244: '=': conversion from 'const
real_T' to 'uint8_T', possible loss of data</p>
<p class="MsoNormal">C:\Users\hasan\Desktop\Programs\Matlab\EtherLab\etherlab-2.1.0\rtw\blocks\EtherCAT\ec_slave3.c(698):</p>
<p class="MsoNormal">warning C4244: '=': conversion from 'const
real_T' to 'uint_T', possible loss of data</p>
<p class="MsoNormal">C:\Users\hasan\Desktop\Programs\Matlab\EtherLab\etherlab-2.1.0\rtw\blocks\EtherCAT\ec_slave3.c(726):</p>
<p class="MsoNormal">warning C4244: '=': conversion from
'real_T' to 'uint16_T', possible loss of data</p>
<p class="MsoNormal">C:\Users\hasan\Desktop\Programs\Matlab\EtherLab\etherlab-2.1.0\rtw\blocks\EtherCAT\ec_slave3.c(736):</p>
<p class="MsoNormal">warning C4267: '=': conversion from
'size_t' to 'uint_T', possible loss of data</p>
<p class="MsoNormal">C:\Users\hasan\Desktop\Programs\Matlab\EtherLab\etherlab-2.1.0\rtw\blocks\EtherCAT\ec_slave3.c(791):</p>
<p class="MsoNormal">warning C4267: 'function': conversion from
'size_t' to 'uint_T', possible loss of data</p>
<p class="MsoNormal">C:\Users\hasan\Desktop\Programs\Matlab\EtherLab\etherlab-2.1.0\rtw\blocks\EtherCAT\ec_slave3.c(792):</p>
<p class="MsoNormal">warning C4244: '=': conversion from
'real_T' to 'uint16_T', possible loss of data</p>
<p class="MsoNormal">C:\Users\hasan\Desktop\Programs\Matlab\EtherLab\etherlab-2.1.0\rtw\blocks\EtherCAT\ec_slave3.c(796):</p>
<p class="MsoNormal">warning C4267: 'function': conversion from
'size_t' to 'uint_T', possible loss of data</p>
<p class="MsoNormal">C:\Users\hasan\Desktop\Programs\Matlab\EtherLab\etherlab-2.1.0\rtw\blocks\EtherCAT\ec_slave3.c(797):</p>
<p class="MsoNormal">warning C4244: '=': conversion from
'real_T' to 'int16_T', possible loss of data</p>
<p class="MsoNormal">C:\Users\hasan\Desktop\Programs\Matlab\EtherLab\etherlab-2.1.0\rtw\blocks\EtherCAT\ec_slave3.c(806):</p>
<p class="MsoNormal">warning C4267: 'function': conversion from
'size_t' to 'uint_T', possible loss of data</p>
<p class="MsoNormal">C:\Users\hasan\Desktop\Programs\Matlab\EtherLab\etherlab-2.1.0\rtw\blocks\EtherCAT\ec_slave3.c(807):</p>
<p class="MsoNormal">warning C4244: '=': conversion from
'real_T' to 'size_t', possible loss of data</p>
<p class="MsoNormal">C:\Users\hasan\Desktop\Programs\Matlab\EtherLab\etherlab-2.1.0\rtw\blocks\EtherCAT\ec_slave3.c(810):</p>
<p class="MsoNormal">warning C4267: 'function': conversion from
'size_t' to 'int', possible loss of data</p>
<p class="MsoNormal">C:\Users\hasan\Desktop\Programs\Matlab\EtherLab\etherlab-2.1.0\rtw\blocks\EtherCAT\ec_slave3.c(853):</p>
<p class="MsoNormal">warning C4244: '=': conversion from
'real_T' to 'uint_T', possible loss of data</p>
<p class="MsoNormal">C:\Users\hasan\Desktop\Programs\Matlab\EtherLab\etherlab-2.1.0\rtw\blocks\EtherCAT\ec_slave3.c(859):</p>
<p class="MsoNormal">warning C4267: '=': conversion from
'size_t' to 'uint_T', possible loss of data</p>
<p class="MsoNormal">C:\Users\hasan\Desktop\Programs\Matlab\EtherLab\etherlab-2.1.0\rtw\blocks\EtherCAT\ec_slave3.c(865):</p>
<p class="MsoNormal">warning C4244: '=': conversion from
'real_T' to 'uint8_T', possible loss of data</p>
<p class="MsoNormal">C:\Users\hasan\Desktop\Programs\Matlab\EtherLab\etherlab-2.1.0\rtw\blocks\EtherCAT\ec_slave3.c(929):</p>
<p class="MsoNormal">warning C4267: 'function': conversion from
'size_t' to 'uint_T', possible loss of data</p>
<p class="MsoNormal">C:\Users\hasan\Desktop\Programs\Matlab\EtherLab\etherlab-2.1.0\rtw\blocks\EtherCAT\ec_slave3.c(930):</p>
<p class="MsoNormal">warning C4244: '=': conversion from
'real_T' to 'uint16_T', possible loss of data</p>
<p class="MsoNormal">C:\Users\hasan\Desktop\Programs\Matlab\EtherLab\etherlab-2.1.0\rtw\blocks\EtherCAT\ec_slave3.c(933):</p>
<p class="MsoNormal">warning C4267: 'function': conversion from
'size_t' to 'int', possible loss of data</p>
<p class="MsoNormal">C:\Users\hasan\Desktop\Programs\Matlab\EtherLab\etherlab-2.1.0\rtw\blocks\EtherCAT\ec_slave3.c(947):</p>
<p class="MsoNormal">warning C4267: 'function': conversion from
'size_t' to 'int', possible loss of data</p>
<p class="MsoNormal">C:\Users\hasan\Desktop\Programs\Matlab\EtherLab\etherlab-2.1.0\rtw\blocks\EtherCAT\ec_slave3.c(964):</p>
<p class="MsoNormal">warning C4244: '=': conversion from
'real_T' to 'uint8_T', possible loss of data</p>
<p class="MsoNormal">C:\Users\hasan\Desktop\Programs\Matlab\EtherLab\etherlab-2.1.0\rtw\blocks\EtherCAT\ec_slave3.c(1009):</p>
<p class="MsoNormal">warning C4244: '=': conversion from 'const
real_T' to 'uint16_T', possible loss of data</p>
<p class="MsoNormal">C:\Users\hasan\Desktop\Programs\Matlab\EtherLab\etherlab-2.1.0\rtw\blocks\EtherCAT\ec_slave3.c(1014):</p>
<p class="MsoNormal">warning C4244: '=': conversion from 'const
real_T' to 'int32_T', possible loss of data</p>
<p class="MsoNormal">C:\Users\hasan\Desktop\Programs\Matlab\EtherLab\etherlab-2.1.0\rtw\blocks\EtherCAT\ec_slave3.c(1015):</p>
<p class="MsoNormal">warning C4244: '=': conversion from 'const
real_T' to 'int32_T', possible loss of data</p>
<p class="MsoNormal">C:\Users\hasan\Desktop\Programs\Matlab\EtherLab\etherlab-2.1.0\rtw\blocks\EtherCAT\ec_slave3.c(1016):</p>
<p class="MsoNormal">warning C4244: '=': conversion from 'const
real_T' to 'int32_T', possible loss of data</p>
<p class="MsoNormal">C:\Users\hasan\Desktop\Programs\Matlab\EtherLab\etherlab-2.1.0\rtw\blocks\EtherCAT\ec_slave3.c(1017):</p>
<p class="MsoNormal">warning C4244: '=': conversion from 'const
real_T' to 'int32_T', possible loss of data</p>
<p class="MsoNormal">C:\Users\hasan\Desktop\Programs\Matlab\EtherLab\etherlab-2.1.0\rtw\blocks\EtherCAT\ec_slave3.c(1019):</p>
<p class="MsoNormal">warning C4244: '=': conversion from 'const
real_T' to 'int32_T', possible loss of data</p>
<p class="MsoNormal">C:\Users\hasan\Desktop\Programs\Matlab\EtherLab\etherlab-2.1.0\rtw\blocks\EtherCAT\ec_slave3.c(1020):</p>
<p class="MsoNormal">warning C4244: '=': conversion from 'const
real_T' to 'int32_T', possible loss of data</p>
<p class="MsoNormal">C:\Users\hasan\Desktop\Programs\Matlab\EtherLab\etherlab-2.1.0\rtw\blocks\EtherCAT\ec_slave3.c(1021):</p>
<p class="MsoNormal">warning C4244: '=': conversion from 'const
real_T' to 'int32_T', possible loss of data</p>
<p class="MsoNormal">C:\Users\hasan\Desktop\Programs\Matlab\EtherLab\etherlab-2.1.0\rtw\blocks\EtherCAT\ec_slave3.c(1022):</p>
<p class="MsoNormal">warning C4244: '=': conversion from 'const
real_T' to 'int32_T', possible loss of data</p>
<p class="MsoNormal">C:\Users\hasan\Desktop\Programs\Matlab\EtherLab\etherlab-2.1.0\rtw\blocks\EtherCAT\ec_slave3.c(1063):</p>
<p class="MsoNormal">warning C4244: '=': conversion from
'real_T' to 'uint32_T', possible loss of data</p>
<p class="MsoNormal">C:\Users\hasan\Desktop\Programs\Matlab\EtherLab\etherlab-2.1.0\rtw\blocks\EtherCAT\ec_slave3.c(1067):</p>
<p class="MsoNormal">warning C4244: '=': conversion from
'real_T' to 'uint32_T', possible loss of data</p>
<p class="MsoNormal">C:\Users\hasan\Desktop\Programs\Matlab\EtherLab\etherlab-2.1.0\rtw\blocks\EtherCAT\ec_slave3.c(1095):</p>
<p class="MsoNormal">warning C4267: '=': conversion from
'size_t' to 'uint_T', possible loss of data</p>
<p class="MsoNormal">C:\Users\hasan\Desktop\Programs\Matlab\EtherLab\etherlab-2.1.0\rtw\blocks\EtherCAT\ec_slave3.c(1111):</p>
<p class="MsoNormal">warning C4267: 'function': conversion from
'size_t' to 'int', possible loss of data</p>
<p class="MsoNormal">C:\Users\hasan\Desktop\Programs\Matlab\EtherLab\etherlab-2.1.0\rtw\blocks\EtherCAT\ec_slave3.c(1192):</p>
<p class="MsoNormal">warning C4267: 'function': conversion from
'size_t' to 'int', possible loss of data</p>
<p class="MsoNormal">C:\Users\hasan\Desktop\Programs\Matlab\EtherLab\etherlab-2.1.0\rtw\blocks\EtherCAT\ec_slave3.c(1210):</p>
<p class="MsoNormal">warning C4267: '+=': conversion from
'size_t' to 'int_T', possible loss of data</p>
<p class="MsoNormal">C:\Users\hasan\Desktop\Programs\Matlab\EtherLab\etherlab-2.1.0\rtw\blocks\EtherCAT\ec_slave3.c(1224):</p>
<p class="MsoNormal">warning C4267: '=': conversion from
'size_t' to 'int32_T', possible loss of data</p>
<p class="MsoNormal">C:\Users\hasan\Desktop\Programs\Matlab\EtherLab\etherlab-2.1.0\rtw\blocks\EtherCAT\ec_slave3.c(1372):</p>
<p class="MsoNormal">warning C4244: '+=': conversion from 'const
real_T' to 'uint_T', possible loss of data</p>
<p class="MsoNormal">C:\Users\hasan\Desktop\Programs\Matlab\EtherLab\etherlab-2.1.0\rtw\blocks\EtherCAT\ec_slave3.c(1323):</p>
<p class="MsoNormal">warning C4244: 'initializing': conversion
from 'double' to 'uint_T', possible loss of data</p>
<p class="MsoNormal">C:\Users\hasan\Desktop\Programs\Matlab\EtherLab\etherlab-2.1.0\rtw\blocks\EtherCAT\ec_slave3.c(1396):</p>
<p class="MsoNormal">warning C4267: 'function': conversion from
'size_t' to 'int', possible loss of data</p>
<p class="MsoNormal">C:\Users\hasan\Desktop\Programs\Matlab\EtherLab\etherlab-2.1.0\rtw\blocks\EtherCAT\ec_slave3.c(1416):
error</p>
<p class="MsoNormal">C2065: 'ssize_t': undeclared identifier</p>
<p class="MsoNormal">C:\Users\hasan\Desktop\Programs\Matlab\EtherLab\etherlab-2.1.0\rtw\blocks\EtherCAT\ec_slave3.c(1416):
error</p>
<p class="MsoNormal">C2146: syntax error: missing ')' before
identifier 'val'</p>
<p class="MsoNormal">C:\Users\hasan\Desktop\Programs\Matlab\EtherLab\etherlab-2.1.0\rtw\blocks\EtherCAT\ec_slave3.c(1417):
error</p>
<p class="MsoNormal">C2059: syntax error: ')'</p>
<p class="MsoNormal">C:\Users\hasan\Desktop\Programs\Matlab\EtherLab\etherlab-2.1.0\rtw\blocks\EtherCAT\ec_slave3.c(1433):
error</p>
<p class="MsoNormal">C2065: 'ssize_t': undeclared identifier</p>
<p class="MsoNormal">C:\Users\hasan\Desktop\Programs\Matlab\EtherLab\etherlab-2.1.0\rtw\blocks\EtherCAT\ec_slave3.c(1433):
error</p>
<p class="MsoNormal">C2146: syntax error: missing ')' before
identifier 'val'</p>
<p class="MsoNormal">C:\Users\hasan\Desktop\Programs\Matlab\EtherLab\etherlab-2.1.0\rtw\blocks\EtherCAT\ec_slave3.c(1434):
error</p>
<p class="MsoNormal">C2059: syntax error: ')'</p>
<p class="MsoNormal">C:\Users\hasan\Desktop\Programs\Matlab\EtherLab\etherlab-2.1.0\rtw\blocks\EtherCAT\ec_slave3.c(1444):
error</p>
<p class="MsoNormal">C2065: 'ssize_t': undeclared identifier</p>
<p class="MsoNormal">C:\Users\hasan\Desktop\Programs\Matlab\EtherLab\etherlab-2.1.0\rtw\blocks\EtherCAT\ec_slave3.c(1444):
error</p>
<p class="MsoNormal">C2146: syntax error: missing ')' before
identifier 'val'</p>
<p class="MsoNormal">C:\Users\hasan\Desktop\Programs\Matlab\EtherLab\etherlab-2.1.0\rtw\blocks\EtherCAT\ec_slave3.c(1445):
error</p>
<p class="MsoNormal">C2059: syntax error: ')'</p>
<p class="MsoNormal">C:\Users\hasan\Desktop\Programs\Matlab\EtherLab\etherlab-2.1.0\rtw\blocks\EtherCAT\ec_slave3.c(1466):</p>
<p class="MsoNormal">warning C4244: '=': conversion from
'real_T' to 'size_t', possible loss of data</p>
<p class="MsoNormal">C:\Users\hasan\Desktop\Programs\Matlab\EtherLab\etherlab-2.1.0\rtw\blocks\EtherCAT\ec_slave3.c(1472):
error</p>
<p class="MsoNormal">C2065: 'ssize_t': undeclared identifier</p>
<p class="MsoNormal">C:\Users\hasan\Desktop\Programs\Matlab\EtherLab\etherlab-2.1.0\rtw\blocks\EtherCAT\ec_slave3.c(1472):
error</p>
<p class="MsoNormal">C2146: syntax error: missing ')' before
identifier 'val'</p>
<p class="MsoNormal">C:\Users\hasan\Desktop\Programs\Matlab\EtherLab\etherlab-2.1.0\rtw\blocks\EtherCAT\ec_slave3.c(1489):</p>
<p class="MsoNormal">warning C4267: 'function': conversion from
'size_t' to 'uint_T', possible loss of data</p>
<p class="MsoNormal">C:\Users\hasan\Desktop\Programs\Matlab\EtherLab\etherlab-2.1.0\rtw\blocks\EtherCAT\ec_slave3.c(1493):</p>
<p class="MsoNormal">warning C4267: 'function': conversion from
'size_t' to 'uint_T', possible loss of data</p>
<p class="MsoNormal">C:\Users\hasan\Desktop\Programs\Matlab\EtherLab\etherlab-2.1.0\rtw\blocks\EtherCAT\ec_slave3.c(1495):</p>
<p class="MsoNormal">warning C4267: 'function': conversion from
'size_t' to 'uint_T', possible loss of data</p>
<p class="MsoNormal">C:\Users\hasan\Desktop\Programs\Matlab\EtherLab\etherlab-2.1.0\rtw\blocks\EtherCAT\ec_slave3.c(1499):</p>
<p class="MsoNormal">warning C4267: 'function': conversion from
'size_t' to 'uint_T', possible loss of data</p>
<p class="MsoNormal">C:\Users\hasan\Desktop\Programs\Matlab\EtherLab\etherlab-2.1.0\rtw\blocks\EtherCAT\ec_slave3.c(1502):</p>
<p class="MsoNormal">warning C4244: '+=': conversion from
'__int64' to 'int_T', possible loss of data</p>
<p class="MsoNormal">C:\Users\hasan\Desktop\Programs\Matlab\EtherLab\etherlab-2.1.0\rtw\blocks\EtherCAT\ec_slave3.c(1508):</p>
<p class="MsoNormal">warning C4267: 'function': conversion from
'size_t' to 'uint_T', possible loss of data</p>
<p class="MsoNormal">C:\Users\hasan\Desktop\Programs\Matlab\EtherLab\etherlab-2.1.0\rtw\blocks\EtherCAT\ec_slave3.c(1554):</p>
<p class="MsoNormal">warning C4267: '=': conversion from
'size_t' to 'uint_T', possible loss of data</p>
<p class="MsoNormal">C:\Users\hasan\Desktop\Programs\Matlab\EtherLab\etherlab-2.1.0\rtw\blocks\EtherCAT\ec_slave3.c(1574):</p>
<p class="MsoNormal">warning C4267: 'function': conversion from
'size_t' to 'int', possible loss of data</p>
<p class="MsoNormal">C:\Users\hasan\Desktop\Programs\Matlab\EtherLab\etherlab-2.1.0\rtw\blocks\EtherCAT\ec_slave3.c(1608):</p>
<p class="MsoNormal">warning C4244: 'return': conversion from
'__int64' to 'int_T', possible loss of data</p>
<p class="MsoNormal">C:\Users\hasan\Desktop\Programs\Matlab\EtherLab\etherlab-2.1.0\rtw\blocks\EtherCAT\ec_slave3.c(1736):</p>
<p class="MsoNormal">warning C4244: '=': conversion from
'double' to 'unsigned int', possible loss of data</p>
<p class="MsoNormal">C:\Users\hasan\Desktop\Programs\Matlab\EtherLab\etherlab-2.1.0\rtw\blocks\EtherCAT\ec_slave3.c(1746):</p>
<p class="MsoNormal">warning C4244: 'function': conversion from
'__int64' to 'int_T', possible loss of data</p>
<p class="MsoNormal">C:\Users\hasan\Desktop\Programs\Matlab\EtherLab\etherlab-2.1.0\rtw\blocks\EtherCAT\ec_slave3.c(1755):</p>
<p class="MsoNormal">warning C4244: 'function': conversion from
'__int64' to 'int_T', possible loss of data</p>
<p class="MsoNormal">C:\Users\hasan\Desktop\Programs\Matlab\EtherLab\etherlab-2.1.0\rtw\blocks\EtherCAT\ec_slave3.c(1759):</p>
<p class="MsoNormal">warning C4244: '=': conversion from
'__int64' to 'int_T', possible loss of data</p>
<p class="MsoNormal">C:\Users\hasan\Desktop\Programs\Matlab\EtherLab\etherlab-2.1.0\rtw\blocks\EtherCAT\ec_slave3.c(1854):</p>
<p class="MsoNormal">warning C4018: '>': signed/unsigned
mismatch</p>
<p class="MsoNormal">C:\Users\hasan\Desktop\Programs\Matlab\EtherLab\etherlab-2.1.0\rtw\blocks\EtherCAT\ec_slave3.c(1849):</p>
<p class="MsoNormal">warning C4244: 'initializing': conversion
from '__int64' to 'uint_T', possible loss of data</p>
<p class="MsoNormal">C:\Users\hasan\Desktop\Programs\Matlab\EtherLab\etherlab-2.1.0\rtw\blocks\EtherCAT\ec_slave3.c(1901):</p>
<p class="MsoNormal">warning C4244: '=': conversion from
'__int64' to 'int_T', possible loss of data</p>
<p class="MsoNormal">C:\Users\hasan\Desktop\Programs\Matlab\EtherLab\etherlab-2.1.0\rtw\blocks\EtherCAT\ec_slave3.c(2090):</p>
<p class="MsoNormal">warning C4267: '=': conversion from
'size_t' to 'uint32_T', possible loss of data</p>
<p class="MsoNormal">C:\Users\hasan\Desktop\Programs\Matlab\EtherLab\etherlab-2.1.0\rtw\blocks\EtherCAT\ec_slave3.c(2267):</p>
<p class="MsoNormal">warning C4244: '=': conversion from
'__int64' to 'uint32_T', possible loss of data</p>
<p class="MsoNormal">C:\Users\hasan\Desktop\Programs\Matlab\EtherLab\etherlab-2.1.0\rtw\blocks\EtherCAT\ec_slave3.c(2236):</p>
<p class="MsoNormal">warning C4244: 'initializing': conversion
from '__int64' to 'uint_T', possible loss of data<o:p></o:p></p>
</div>
</blockquote>
<br>
</body>
</html>