<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>MATLAB pour les geeks &#187; MATLAB Compiler</title>
	<atom:link href="https://blog.developpez.com/matlab4geek/?feed=rss2&#038;tag=matlab-compiler" rel="self" type="application/rss+xml" />
	<link>https://blog.developpez.com/matlab4geek</link>
	<description>&#62;&#62;why(393) </description>
	<lastBuildDate>Fri, 09 Jan 2015 13:05:12 +0000</lastBuildDate>
	<language>fr-FR</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.1.42</generator>
	<item>
		<title>evalc</title>
		<link>https://blog.developpez.com/matlab4geek/?p=759</link>
		<comments>https://blog.developpez.com/matlab4geek/?p=759#comments</comments>
		<pubDate>Fri, 15 Feb 2013 15:33:55 +0000</pubDate>
		<dc:creator><![CDATA[tug83]]></dc:creator>
				<category><![CDATA[Best-of des commandes MATLAB utiles]]></category>
		<category><![CDATA[evalc]]></category>
		<category><![CDATA[MATLAB Compiler]]></category>
		<category><![CDATA[pragma]]></category>

		<guid isPermaLink="false">http://blog.developpez.com/matlab4geek/?p=759</guid>
		<description><![CDATA[On a vu dans l&#8217;article précédent qu&#8217;evalc est utile pour enlever le verbose : disp, fprintf &#8230; Maintenant si on veut compiler son code qui utilise evalc avec le MATLAB Compiler , il est nécéssaire de rajouter le pragma %#function Comme expliqué dans la doc %#function The %#function pragma informs MATLAB Compiler that the specified [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>On a vu dans l&rsquo;article précédent qu&rsquo;evalc est utile pour enlever le verbose : disp, fprintf &#8230;<br />
Maintenant si on veut compiler son code qui utilise evalc avec le MATLAB Compiler , il est nécéssaire de rajouter le pragma <strong>%#function</strong> <span id="more-759"></span></p>
<p>Comme expliqué dans la doc  <a href="http://www.mathworks.fr/fr/help/compiler/function.html" target="_blank">%#function</a></p>
<blockquote><p>The %#function pragma informs MATLAB Compiler that the specified function(s) will be called through an feval, eval, or Handle Graphics callback.</p></blockquote>
<p>Ok <strong>evalc n&rsquo;est pas cité mais pourtant il faut le faire</strong>!</p>
<p>Si on veut compiler ma fonction bidon matlab4geek (du billet précédent) par exemple , on pourrait ecrire une fonction parent :</p>
<div class="codecolorer-container matlab default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="matlab codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #0000FF;">function</span> <span style="color: #080;">&#91;</span>blablabla,y<span style="color: #080;">&#93;</span> &nbsp;=test<br />
<br />
<span style="color: #080;">&#91;</span>blablabla,y<span style="color: #080;">&#93;</span> = <a href="http://www.mathworks.com/access/helpdesk/help/techdoc/ref/evalc.html"><span style="color: #0000FF;">evalc</span></a><span style="color: #080;">&#40;</span><span style="color:#A020F0;">'matlab4geek(2)'</span><span style="color: #080;">&#41;</span>;</div></div>
<p>puis la compiler</p>
<div class="codecolorer-container matlab default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="matlab codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">mcc -mv test</div></div>
<p>en essayant de l&rsquo;executer:</p>
<div class="codecolorer-container matlab default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="matlab codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">!test</div></div>
<p>on va avoir le message d&rsquo;erreur :</p>
<blockquote><p>Error using evalc<br />
Undefined function &lsquo;matlab4geek&rsquo; for input arguments of type &lsquo;double&rsquo;. </p>
<p>Error in test (line 3) </p></blockquote>
<p>Donc en effet le MATLAB Compiler n&rsquo;a pas compris lors de la compilation que la chaine de caractère matlab4geek était une fonction à embarquer.</p>
<p>La solution est donc :<br />
<!--more--></p>
<p>de rajouter sous le nom de la fonction <strong>%#function matlab4geek</strong></p>
<div class="codecolorer-container matlab default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="matlab codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #0000FF;">function</span> <span style="color: #080;">&#91;</span>blablabla,y<span style="color: #080;">&#93;</span> &nbsp;=test<br />
<span style="color: #228B22;">%#function matlab4geek</span><br />
<span style="color: #080;">&#91;</span>blablabla,y<span style="color: #080;">&#93;</span> = <a href="http://www.mathworks.com/access/helpdesk/help/techdoc/ref/evalc.html"><span style="color: #0000FF;">evalc</span></a><span style="color: #080;">&#40;</span><span style="color:#A020F0;">'matlab4geek(2)'</span><span style="color: #080;">&#41;</span>;</div></div>
<p>Sur ce bon week-end à tous les Matlab geek!</p>
]]></content:encoded>
			<wfw:commentRss></wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>urlread</title>
		<link>https://blog.developpez.com/matlab4geek/?p=73</link>
		<comments>https://blog.developpez.com/matlab4geek/?p=73#comments</comments>
		<pubDate>Wed, 13 Jun 2012 09:46:30 +0000</pubDate>
		<dc:creator><![CDATA[tug83]]></dc:creator>
				<category><![CDATA[pensée MATLAB  du jour]]></category>
		<category><![CDATA[application]]></category>
		<category><![CDATA[compiled]]></category>
		<category><![CDATA[comportement]]></category>
		<category><![CDATA[connection]]></category>
		<category><![CDATA[down]]></category>
		<category><![CDATA[JRE]]></category>
		<category><![CDATA[MATLAB Compiler]]></category>
		<category><![CDATA[mozilla]]></category>
		<category><![CDATA[network connection]]></category>
		<category><![CDATA[urlread]]></category>
		<category><![CDATA[urlread2]]></category>
		<category><![CDATA[User-Agent]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Dernièrement un code compilé avec le MATLAB Compiler R2011b n&#8217;arrivait pas à lire une URL alors que ce même code en MATLAB y arrivait. Voici donc 3 workarounds à utiliser si vous avez des soucis avec urlread:]]></description>
				<content:encoded><![CDATA[<p>Dernièrement un code compilé avec le MATLAB Compiler <strong>R2011b</strong> n&rsquo;arrivait pas à lire une URL alors que ce même code en MATLAB y arrivait.</p>
<p>Voici donc  3 workarounds  à utiliser si vous avez des soucis avec urlread:</p>
]]></content:encoded>
			<wfw:commentRss></wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Commandes non déployables</title>
		<link>https://blog.developpez.com/matlab4geek/?p=152</link>
		<comments>https://blog.developpez.com/matlab4geek/?p=152#comments</comments>
		<pubDate>Wed, 11 Jan 2012 08:12:11 +0000</pubDate>
		<dc:creator><![CDATA[tug83]]></dc:creator>
				<category><![CDATA[MATLAB Compiler]]></category>
		<category><![CDATA[ADDPATH]]></category>
		<category><![CDATA[Code Analyser]]></category>
		<category><![CDATA[HELP]]></category>
		<category><![CDATA[isdeployed]]></category>
		<category><![CDATA[ismcc]]></category>
		<category><![CDATA[KEYBOARD]]></category>
		<category><![CDATA[M-lint]]></category>
		<category><![CDATA[r2012a]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Le Code Analyser de MATLAB (anciennement appelé M-lint) vous avertit que certaines commandes ne sont pas permises avec le MATLAB Compiler. Lesquelles et comment bypasser ce problème?]]></description>
				<content:encoded><![CDATA[<p>Le Code Analyser de MATLAB (anciennement appelé M-lint) vous avertit que certaines commandes ne sont pas permises avec le MATLAB Compiler. Lesquelles et comment bypasser ce problème?</p>
]]></content:encoded>
			<wfw:commentRss></wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installer plusieurs MCR</title>
		<link>https://blog.developpez.com/matlab4geek/?p=151</link>
		<comments>https://blog.developpez.com/matlab4geek/?p=151#comments</comments>
		<pubDate>Fri, 30 Dec 2011 17:21:01 +0000</pubDate>
		<dc:creator><![CDATA[tug83]]></dc:creator>
				<category><![CDATA[MATLAB Compiler]]></category>
		<category><![CDATA[bashrc]]></category>
		<category><![CDATA[dos]]></category>
		<category><![CDATA[export]]></category>
		<category><![CDATA[glnxa64]]></category>
		<category><![CDATA[installation]]></category>
		<category><![CDATA[installer]]></category>
		<category><![CDATA[LD_LIBRARY_PATH]]></category>
		<category><![CDATA[MATLAB Compiler Runtime]]></category>
		<category><![CDATA[mcr]]></category>
		<category><![CDATA[PATH]]></category>
		<category><![CDATA[Path Editor]]></category>
		<category><![CDATA[r2010a]]></category>
		<category><![CDATA[r2011b]]></category>
		<category><![CDATA[v713]]></category>
		<category><![CDATA[v716]]></category>
		<category><![CDATA[variables d'environnement]]></category>
		<category><![CDATA[XAPPLRESDIR]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Il est possible d&#8217;installer plusieurs MCR mais cela dépend de votre Operating System. Ce que je vais vous expliquer dans la page suivante &#8230;]]></description>
				<content:encoded><![CDATA[<p>Il est possible d&rsquo;installer plusieurs MCR <strong>mais</strong> cela dépend de votre Operating System. Ce que je vais vous expliquer dans la page suivante &#8230;</p>
]]></content:encoded>
			<wfw:commentRss></wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>startup.m</title>
		<link>https://blog.developpez.com/matlab4geek/?p=11</link>
		<comments>https://blog.developpez.com/matlab4geek/?p=11#comments</comments>
		<pubDate>Wed, 13 Oct 2010 15:32:51 +0000</pubDate>
		<dc:creator><![CDATA[tug83]]></dc:creator>
				<category><![CDATA[Accueil = startup.m]]></category>
		<category><![CDATA[deploytool]]></category>
		<category><![CDATA[exécutable]]></category>
		<category><![CDATA[isdeployed]]></category>
		<category><![CDATA[ismcc]]></category>
		<category><![CDATA[MATLAB Compiler]]></category>
		<category><![CDATA[mcc]]></category>
		<category><![CDATA[startup]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Comme vous avez pu le remarquer j&#8217;ai appelé cette catégorie &#171;&#160;Accueil ou startup.m&#160;&#187;. En tant que MATLAB Geek vous avez sûrement de suite compris le lien]]></description>
				<content:encoded><![CDATA[<p>Comme vous avez pu le remarquer j&rsquo;ai appelé cette catégorie &laquo;&nbsp;Accueil ou startup.m&nbsp;&raquo;. En tant que MATLAB Geek vous avez sûrement de suite compris le lien <img src="https://blog.developpez.com/matlab4geek/wp-includes/images/smilies/icon_wink.gif" alt=";)" class="wp-smiley" /></p>
]]></content:encoded>
			<wfw:commentRss></wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>MATLAB Coder</title>
		<link>https://blog.developpez.com/matlab4geek/?p=123</link>
		<comments>https://blog.developpez.com/matlab4geek/?p=123#comments</comments>
		<pubDate>Tue, 12 Apr 2011 07:42:18 +0000</pubDate>
		<dc:creator><![CDATA[tug83]]></dc:creator>
				<category><![CDATA[Nouveau produit : MATLAB Coder]]></category>
		<category><![CDATA[accélération]]></category>
		<category><![CDATA[cher]]></category>
		<category><![CDATA[matlab coder]]></category>
		<category><![CDATA[MATLAB Compiler]]></category>
		<category><![CDATA[mex]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[prix]]></category>
		<category><![CDATA[r2011a]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[la surprise de l&#8217;année]]></description>
				<content:encoded><![CDATA[<ul>
<li>la surprise de l&rsquo;année</li>
</ul>
]]></content:encoded>
			<wfw:commentRss></wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Prerelease R2011b</title>
		<link>https://blog.developpez.com/matlab4geek/?p=126</link>
		<comments>https://blog.developpez.com/matlab4geek/?p=126#comments</comments>
		<pubDate>Tue, 14 Jun 2011 14:51:08 +0000</pubDate>
		<dc:creator><![CDATA[tug83]]></dc:creator>
				<category><![CDATA[Prerelease R2011b]]></category>
		<category><![CDATA[R2011b]]></category>
		<category><![CDATA[MATLAB Compiler]]></category>
		<category><![CDATA[prerelease]]></category>
		<category><![CDATA[r2011b]]></category>
		<category><![CDATA[Release Notes]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[La Prerelease R2011b est déjà dispo !!]]></description>
				<content:encoded><![CDATA[<p>La <strong>Prerelease R2011b</strong> est déjà dispo !!</p>
]]></content:encoded>
			<wfw:commentRss></wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Colorbar en standalone  R2011a toujours buggué</title>
		<link>https://blog.developpez.com/matlab4geek/?p=34</link>
		<comments>https://blog.developpez.com/matlab4geek/?p=34#comments</comments>
		<pubDate>Fri, 15 Apr 2011 15:11:21 +0000</pubDate>
		<dc:creator><![CDATA[tug83]]></dc:creator>
				<category><![CDATA[colorbar en mode déployé]]></category>
		<category><![CDATA[R2011a]]></category>
		<category><![CDATA[colorbar]]></category>
		<category><![CDATA[Interactive Colormap Shift]]></category>
		<category><![CDATA[MATLAB Compiler]]></category>
		<category><![CDATA[Open Colormap Editor]]></category>
		<category><![CDATA[r2010b]]></category>
		<category><![CDATA[r2011a]]></category>
		<category><![CDATA[Show Code]]></category>
		<category><![CDATA[Show Property Editor]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Tout est dans le titre Rappelez vous mon étude le 15 Octobre 2010 sur les options du menu contextuel offertes par la colorbar: Colorbar in deployed mode J&#8217;ai refait le test avec MATLAB 7.12 (R2011a) et le MATLAB Compiler 4.15 (R2011a) &#8230;]]></description>
				<content:encoded><![CDATA[<p>Tout est dans le titre</p>
<p>Rappelez vous mon étude le 15 Octobre 2010 sur les options du menu contextuel offertes par la colorbar: <a href="http://blog.developpez.com/matlab4geek/c2683/crazy-matlab-bugs/colorbar-en-mode-deploye/">Colorbar in deployed mode</a></p>
<p>J&rsquo;ai refait le test avec MATLAB 7.12 (R2011a) et le MATLAB Compiler 4.15  (R2011a) &#8230;</p>
]]></content:encoded>
			<wfw:commentRss></wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Colorbar in deployed mode</title>
		<link>https://blog.developpez.com/matlab4geek/?p=33</link>
		<comments>https://blog.developpez.com/matlab4geek/?p=33#comments</comments>
		<pubDate>Fri, 15 Oct 2010 08:49:32 +0000</pubDate>
		<dc:creator><![CDATA[tug83]]></dc:creator>
				<category><![CDATA[colorbar en mode déployé]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[colorbar]]></category>
		<category><![CDATA[colormap]]></category>
		<category><![CDATA[Colormap Editor]]></category>
		<category><![CDATA[colormapeditor]]></category>
		<category><![CDATA[compiler]]></category>
		<category><![CDATA[deployed]]></category>
		<category><![CDATA[exécutable]]></category>
		<category><![CDATA[inspect]]></category>
		<category><![CDATA[Interactive Colormap Shift]]></category>
		<category><![CDATA[MATLAB Compiler]]></category>
		<category><![CDATA[mcc]]></category>
		<category><![CDATA[Plot Tools]]></category>
		<category><![CDATA[PROPEDIT]]></category>
		<category><![CDATA[Show Code]]></category>
		<category><![CDATA[Show Property Editor]]></category>
		<category><![CDATA[Standard Colormaps]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Dans la catégorie &#171;&#160;Crazy MATLAB bugs&#160;&#187; , je compte vous montrer des bugs simples à reproduire et que je trouve entre guillemets hallucinant !! Voici un bug que j&#8217;ai trouvé le mois dernier et que j&#8217;ai remonté au support technique de TMW.]]></description>
				<content:encoded><![CDATA[<p>Dans la catégorie &laquo;&nbsp;Crazy MATLAB bugs&nbsp;&raquo; , je compte vous montrer des bugs simples à reproduire et que je trouve entre guillemets hallucinant !!</p>
<p>Voici un bug que j&rsquo;ai trouvé le mois dernier et que j&rsquo;ai remonté au support technique de TMW.</p>
]]></content:encoded>
			<wfw:commentRss></wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installer le MCR sous Linux</title>
		<link>https://blog.developpez.com/matlab4geek/?p=149</link>
		<comments>https://blog.developpez.com/matlab4geek/?p=149#comments</comments>
		<pubDate>Thu, 22 Dec 2011 11:32:04 +0000</pubDate>
		<dc:creator><![CDATA[tug83]]></dc:creator>
				<category><![CDATA[MATLAB Compiler]]></category>
		<category><![CDATA[checkfilename]]></category>
		<category><![CDATA[libgcc_s.so.1]]></category>
		<category><![CDATA[libinstutil.so]]></category>
		<category><![CDATA[libmwinstall.so]]></category>
		<category><![CDATA[libnativewebproxy.so]]></category>
		<category><![CDATA[libstdc++.so.6]]></category>
		<category><![CDATA[libstdc++.so.6.0.10]]></category>
		<category><![CDATA[mcr]]></category>
		<category><![CDATA[mcrinstaller]]></category>
		<category><![CDATA[r2011b]]></category>
		<category><![CDATA[unzip]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Voici la procédure à suivre pour installer par exemple le Matlab Compiler Runtime version 7.16 pour utiliser des exécutables crées avec MATLAB R2011b.]]></description>
				<content:encoded><![CDATA[<p>Voici la procédure à suivre pour installer par exemple le Matlab Compiler Runtime version  7.16 pour utiliser des exécutables crées avec MATLAB R2011b.</p>
]]></content:encoded>
			<wfw:commentRss></wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
