<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<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;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
span.E-MailFormatvorlage19
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="DE" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">Hi,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="mso-fareast-language:EN-US">correction: While the problem described below exists, the current crashes are not random but related to the use of messages in “Chart” stateflow blocks in Simulink.
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="mso-fareast-language:EN-US">The whole thing seems like a bug, I just cannot say if it is Matlab or Etherlab. The problem didn’t exist a week or two ago, now a Chart containing a message crashes Matlab when compiling
with the etherlab target. As I didn’t change my Matlab installation, but pulled an update for my system some time ago, I guess the problem is caused by some change in the etherlab toolchain.
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="mso-fareast-language:EN-US">If you are interested, you will find two minimum examples attached, one that crashes and one that doesn’t crash. Note that once Matlab crashed, it will crash every time until all compile
files are deleted (folders slprj and <model>_<i>etl</i>_hrt). I am using openSUSE 15.2 with Linux 5.3.18-lp152.3.14-rt, the current etherlab environment from the openSUSE repository and Matlab R2020a.
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="mso-fareast-language:EN-US">All the best,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="mso-fareast-language:EN-US">Amos<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Arial",sans-serif">--
<br>
Amos Merkel, M.Sc.<br>
Gruppenleiter<br>
Digitalisierung <br>
<br>
ifas – Institut für fluidtechnische Antriebe und Systeme<br>
RWTH Aachen University<br>
Campus-Boulevard 30<br>
52074 Aachen<br>
<br>
Tel: +49 241 80-47737<br>
Fax: +49 241 80-647712<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Arial",sans-serif"><br>
</span><a href="http://www.ifas.rwth-aachen.de/"><span lang="EN-GB" style="font-size:9.0pt;font-family:"Arial",sans-serif;color:blue">www.ifas.rwth-aachen.de</span></a><span lang="EN-GB" style="font-size:9.0pt;font-family:"Arial",sans-serif"> |
</span><a href="https://twitter.com/IFAS_RWTH"><span lang="EN-GB" style="font-size:9.0pt;font-family:"Arial",sans-serif;color:blue">Twitter</span></a><span lang="EN-GB" style="font-size:9.0pt;font-family:"Arial",sans-serif"> |
</span><a href="https://www.facebook.com/IFAS-Institut-f%C3%BCr-fluidtechnische-Antriebe-und-Steuerungen-260714043957873/"><span lang="EN-GB" style="font-size:9.0pt;font-family:"Arial",sans-serif;color:blue">Facebook</span></a><span lang="EN-GB" style="font-size:9.0pt;font-family:"Arial",sans-serif">
| </span><a href="https://www.youtube.com/channel/UC0vIq8jtra8E_--Sx8DALkQ"><span lang="EN-GB" style="font-size:9.0pt;font-family:"Arial",sans-serif;color:blue">YouTube</span></a><span lang="EN-GB" style="font-size:9.0pt;font-family:"Arial",sans-serif"> |
</span><a href="http://www.linkedin.com/company/ifas-rwth/"><span lang="EN-GB" style="font-size:9.0pt;font-family:"Arial",sans-serif;color:blue">LinkedIn</span></a><span lang="EN-GB"><o:p></o:p></span></p>
<table class="MsoTableGrid" border="0" cellspacing="0" cellpadding="0" width="0" style="border-collapse:collapse;border:none">
<tbody>
<tr style="height:11.5pt">
<td width="321" rowspan="2" valign="top" style="width:240.8pt;padding:0cm 0cm 0cm 0cm;height:11.5pt">
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Arial",sans-serif;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
</td>
<td style="border:none;padding:0cm 0cm 0cm 0cm" width="32">
<p class="MsoNormal"> </p>
</td>
<td style="height:11.5pt;border:none" width="0" height="15"></td>
</tr>
<tr style="height:17.3pt">
<td width="32" style="width:24.0pt;padding:0cm 0cm 0cm 0cm;height:17.3pt"></td>
<td style="height:17.3pt;border:none" width="0" height="23"></td>
</tr>
<tr>
<td width="321" valign="top" style="width:240.8pt;padding:0cm 0cm 0cm 0cm">
<p class="MsoNormal" style="text-align:justify"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Arial",sans-serif;mso-fareast-language:EN-US"><o:p> </o:p></span></b></p>
</td>
<td width="32" style="width:24.0pt;padding:0cm 0cm 0cm 0cm"></td>
<td style="border:none" width="0">
<p class="MsoNormal"> </p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:9.0pt;font-family:"Arial",sans-serif"><o:p> </o:p></span></p>
</div>
<p class="MsoNormal"><span lang="EN-GB" style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b>Von:</b> Etherlab-users <etherlab-users-bounces@etherlab.org>
<b>Im Auftrag von </b>Merkel, Amos<br>
<b>Gesendet:</b> Dienstag, 30. August 2022 13:41<br>
<b>An:</b> etherlab-users@etherlab.org<br>
<b>Betreff:</b> [Etherlab-users] Random Matlab crashes with Stateflow<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="EN-GB" style="mso-fareast-language:EN-US">Hi everyone,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="mso-fareast-language:EN-US">I am using the Etherlab environment together with the etherlab Simulink library. For the actual program procedure, I rely mostly on the Stateflow blocks in Simulink. Usually this works
quite well, but I have encountered random crashes while compiling several times now. Typically it is an working Simulink file, you do a small change and encounter the crashes. Reverting the change does not solve the issue, however deleting the stateflow block
does. Copy & pasting the stateflow block to another model crashes that one as well, reprogramming the stateflow block exactly the same, but from scratch without copy+pasting anything works without problem.
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="mso-fareast-language:EN-US">Does anybody now this effect, or a better solution than programming everything anew?
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="mso-fareast-language:EN-US">All the best,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="mso-fareast-language:EN-US">Amos<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial",sans-serif">--
<br>
</span><span lang="EN-GB" style="font-size:9.0pt;font-family:"Arial",sans-serif">Amos Merkel, M.Sc.</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial",sans-serif"><br>
Group leader<br>
Digitalization <br>
<br>
ifas – Institute for Fluid Power Drives and Systems<br>
RWTH Aachen University<br>
Campus-Boulevard 30<br>
52074 Aachen<br>
<br>
Tel: +49 241 80-47737<br>
Fax: +49 241 80-647712<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial",sans-serif"><o:p> </o:p></span></p>
<table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" width="353" style="width:264.75pt;border-collapse:collapse">
<tbody>
<tr>
<td width="321" valign="top" style="width:240.8pt;padding:0cm 0cm 0cm 0cm">
<p class="MsoNormal" style="text-align:justify"><span style="mso-fareast-language:EN-US"><a href="http://www.ifas.rwth-aachen.de/"><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial",sans-serif;color:blue">www.ifas.rwth-aachen.de</span></a></span><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial",sans-serif;mso-fareast-language:EN-US">
| </span><span style="mso-fareast-language:EN-US"><a href="https://twitter.com/IFAS_RWTH"><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial",sans-serif;color:blue">Twitter</span></a></span><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial",sans-serif;mso-fareast-language:EN-US">
| </span><span style="mso-fareast-language:EN-US"><a href="https://www.facebook.com/IFAS-Institut-f%C3%BCr-fluidtechnische-Antriebe-und-Steuerungen-260714043957873/"><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial",sans-serif;color:blue">Facebook</span></a></span><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial",sans-serif;mso-fareast-language:EN-US">
| </span><span style="mso-fareast-language:EN-US"><a href="https://www.youtube.com/channel/UC0vIq8jtra8E_--Sx8DALkQ"><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial",sans-serif;color:blue">YouTube</span></a></span><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial",sans-serif;mso-fareast-language:EN-US">
| </span><span style="mso-fareast-language:EN-US"><a href="https://www.linkedin.com/company/ifas-rwth/"><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial",sans-serif;color:blue">LinkedIn</span></a></span><span style="font-size:9.0pt;font-family:"Arial",sans-serif;mso-fareast-language:EN-US">
</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial",sans-serif;mso-fareast-language:EN-US"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-align:justify"><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial",sans-serif;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-align:justify"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Arial",sans-serif;mso-fareast-language:EN-US"><o:p> </o:p></span></b></p>
</td>
<td width="32" style="width:24.0pt;padding:0cm 0cm 0cm 0cm"></td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Arial",sans-serif">--
<br>
Amos Merkel, M.Sc.<br>
Gruppenleiter<br>
Digitalisierung <br>
<br>
ifas – Institut für fluidtechnische Antriebe und Systeme<br>
RWTH Aachen University<br>
Campus-Boulevard 30<br>
52074 Aachen<br>
<br>
Tel: +49 241 80-47737<br>
Fax: +49 241 80-647712<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Arial",sans-serif"><br>
</span><a href="http://www.ifas.rwth-aachen.de/"><span lang="EN-GB" style="font-size:9.0pt;font-family:"Arial",sans-serif;color:blue">www.ifas.rwth-aachen.de</span></a><span lang="EN-GB" style="font-size:9.0pt;font-family:"Arial",sans-serif"> |
</span><a href="https://twitter.com/IFAS_RWTH"><span lang="EN-GB" style="font-size:9.0pt;font-family:"Arial",sans-serif;color:blue">Twitter</span></a><span lang="EN-GB" style="font-size:9.0pt;font-family:"Arial",sans-serif"> |
</span><a href="https://www.facebook.com/IFAS-Institut-f%C3%BCr-fluidtechnische-Antriebe-und-Steuerungen-260714043957873/"><span lang="EN-GB" style="font-size:9.0pt;font-family:"Arial",sans-serif;color:blue">Facebook</span></a><span lang="EN-GB" style="font-size:9.0pt;font-family:"Arial",sans-serif">
| </span><a href="https://www.youtube.com/channel/UC0vIq8jtra8E_--Sx8DALkQ"><span lang="EN-GB" style="font-size:9.0pt;font-family:"Arial",sans-serif;color:blue">YouTube</span></a><span lang="EN-GB" style="font-size:9.0pt;font-family:"Arial",sans-serif"> |
</span><a href="http://www.linkedin.com/company/ifas-rwth/"><span lang="EN-GB" style="font-size:9.0pt;font-family:"Arial",sans-serif;color:blue">LinkedIn</span></a><span lang="EN-GB"><o:p></o:p></span></p>
</div>
</div>
</body>
</html>