Re: Matlab library
Paolo Mantegazza <[email protected]> Thu, 8 Mar 2018 08:50:12 +0100
| Newsgroups | gmane.linux.real-time.rtai |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format. --===============0327131441303148779== Content-Type: multipart/alternative; boundary="------------5E26F41FB473FD466C764FAB" Content-Language: en-US This is a multi-part message in MIME format. --------------5E26F41FB473FD466C764FAB Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: quoted-printable Sincerely, I'm not using Simulink to generate my code. It produces too=20 bloated a stuff I do not need. In fact, I'd rather say that=A0 I use it=20 just as an interface toward QRTILab.=A0 Usually, I stay more on Scilab=20 (like) tools than MATLAB (or OCTAVE). It is a bit less efficient but is=20 a free(dom) tool. In any case I'll pass your suggestions to the people working with=20 RealTimeWorkshop and see what we can learn from it. Thanks for pointing it out, Paolo On 03/08/2018 08:37 AM, Garbarino Luca wrote: > > Dear Paolo, > > I installed on Matlab201b the rtai library for simulink and I=20 > generated the code for your example model. looking into generated code=20 > , I saw that for your libray you don't use the legacy tool code for=20 > the Sfunction generation. Have you ever tried to use this tool?.=A0 In=20 > this way the c-code should be easier for reading and the list of files=20 > generated will be shorter. > > Kind regards > > Luca > > > > _______________________________________________ > Rtai mailing list > [email protected] > https://mail.rtai.org/cgi-bin/mailman/listinfo/rtai --------------5E26F41FB473FD466C764FAB Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable <html> <head> <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dwindows-1252"> </head> <body text=3D"#000000" bgcolor=3D"#FFFFFF"> <div class=3D"moz-cite-prefix">Sincerely, I'm not using Simulink to generate my code. It produces too bloated a stuff I do not need. In fact, I'd rather say that=A0 I use it just as an interface towar= d QRTILab.=A0 Usually, I stay more on Scilab (like) tools than MATLAB (or OCTAVE). It is a bit less efficient but is a free(dom) tool.<br= > <br> In any case I'll pass your suggestions to the people working with RealTimeWorkshop and see what we can learn from it.<br> <br> Thanks for pointing it out, Paolo <br> <br> <br> On 03/08/2018 08:37 AM, Garbarino Luca wrote:<br> </div> <blockquote type=3D"cite" cite=3D"mid:[email protected]"> <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dwindows-1252"> <meta name=3D"Generator" content=3D"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; margin-bottom:.0001pt; font-size:11.0pt; font-family:"Calibri",sans-serif; mso-fareast-language:EN-US;} a:link, span.MsoHyperlink {mso-style-priority:99; color:#0563C1; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {mso-style-priority:99; color:#954F72; text-decoration:underline;} p.MsoPlainText, li.MsoPlainText, div.MsoPlainText {mso-style-priority:99; mso-style-link:"Testo normale Carattere"; margin:0cm; margin-bottom:.0001pt; font-size:11.0pt; font-family:"Calibri",sans-serif; mso-fareast-language:EN-US;} span.StileMessaggioDiPostaElettronica17 {mso-style-type:personal-compose; font-family:"Calibri",sans-serif; color:windowtext;} span.TestonormaleCarattere {mso-style-name:"Testo normale Carattere"; mso-style-priority:99; mso-style-link:"Testo normale"; font-family:"Calibri",sans-serif;} .MsoChpDefault {mso-style-type:export-only; font-family:"Calibri",sans-serif; mso-fareast-language:EN-US;} @page WordSection1 {size:612.0pt 792.0pt; margin:70.85pt 2.0cm 2.0cm 2.0cm;} div.WordSection1 {page:WordSection1;} --></style><!--[if gte mso 9]><xml> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=3D"edit"> <o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--> <div class=3D"WordSection1"> <p class=3D"MsoPlainText"><span lang=3D"EN-US">Dear Paolo,<o:p></= o:p></span></p> <p class=3D"MsoPlainText"><span lang=3D"EN-US"><o:p>=A0</o:p></sp= an></p> <p class=3D"MsoPlainText"><span lang=3D"EN-US">I installed on Matlab201b the rtai library for simulink and I generated the code for your example model. looking into generated code , I saw that for your libray you don't use the legacy tool code for the Sfunction generation. Have you ever tried to use this tool?.=A0 In this way the c-code should be easier for reading and the list of files generated will be shorter.<o:p>= </o:p></span></p> <p class=3D"MsoPlainText"><span lang=3D"EN-US"><o:p>=A0</o:p></sp= an></p> <p class=3D"MsoPlainText">Kind regards<o:p></o:p></p> <p class=3D"MsoPlainText"><o:p>=A0</o:p></p> <p class=3D"MsoNormal">Luca<o:p></o:p></p> </div> <br> <fieldset class=3D"mimeAttachmentHeader"></fieldset> <br> <pre wrap=3D"">_______________________________________________ Rtai mailing list <a class=3D"moz-txt-link-abbreviated" href=3D"mailto:[email protected]">Rtai@= rtai.org</a> <a class=3D"moz-txt-link-freetext" href=3D"https://mail.rtai.org/cgi-bin/= mailman/listinfo/rtai">https://mail.rtai.org/cgi-bin/mailman/listinfo/rta= i</a></pre> </blockquote> <p><br> </p> </body> </html> --------------5E26F41FB473FD466C764FAB-- --===============0327131441303148779== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Rtai mailing list [email protected] https://mail.rtai.org/cgi-bin/mailman/listinfo/rtai --===============0327131441303148779==--