<?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; visdiff</title>
	<atom:link href="https://blog.developpez.com/matlab4geek/?feed=rss2&#038;tag=visdiff" 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>whatsold</title>
		<link>https://blog.developpez.com/matlab4geek/?p=4</link>
		<comments>https://blog.developpez.com/matlab4geek/?p=4#comments</comments>
		<pubDate>Thu, 03 Feb 2011 08:15:38 +0000</pubDate>
		<dc:creator><![CDATA[tug83]]></dc:creator>
				<category><![CDATA[What is old/new in R2011a?]]></category>
		<category><![CDATA[emailtool_nodisplay]]></category>
		<category><![CDATA[r2010b]]></category>
		<category><![CDATA[r2011a]]></category>
		<category><![CDATA[undocumented]]></category>
		<category><![CDATA[visdiff]]></category>
		<category><![CDATA[whatsold]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Je n&#8217;ai posté que 2 fichiers sur le File Exchange (FEX) de The MathWorks : whatsold.m que j&#8217;ai appelé &#171;&#160;MATLAB Upgrade Utility&#160;&#187; et emailtool_nodisplay.m que j&#8217;ai appelé &#171;&#160;Send email using CDO&#160;&#187;. Le premier permet de savoir à chaque nouvelle Release de MATLAB les fonctions qui sont ou qui vont être supprimées , obsolètes , non [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>Je n&rsquo;ai posté que 2 fichiers sur le File Exchange (FEX) de The MathWorks : <a href="http://www.mathworks.com/matlabcentral/fileexchange/29608-matlab-upgrade-utility">whatsold.m</a> que j&rsquo;ai appelé <strong>&laquo;&nbsp;MATLAB Upgrade Utility&nbsp;&raquo;</strong> et <a href="http://www.mathworks.com/matlabcentral/fileexchange/29421-send-email-using-cdo">emailtool_nodisplay.m</a> que j&rsquo;ai appelé <strong>&laquo;&nbsp;Send email using CDO&nbsp;&raquo;</strong>.</p>
<p>Le premier permet de savoir à chaque nouvelle Release de MATLAB les fonctions qui sont ou qui vont être supprimées , obsolètes , non documentées &#8230; <strong>d&rsquo;où le nom de whatsold qui fait l&rsquo;inverse de la fonction whatsnew shippée avec MATLAB</strong>.<br />
Le second &laquo;&nbsp;Send email using CDO&nbsp;&raquo; permet d&rsquo;envoyer des mails depuis MATLAB  en utilisant votre messagerie Microsoft Outlook . Avec l’avantage que le nom de celui qui envoie le mail peut être modifié. J&rsquo;en parlerai plus longuement dans un autre post.</p>
<p>Donc si on lance <em>whatsold</em> en R2010b , on aura ces informations suivantes dans un log :</p>
<blockquote><p>***************************</p>
<p>1 functions &laquo;&nbsp;no longer supported&nbsp;&raquo; :</p>
<p>pixval: produces an error and is no longer supported. Use IMPIXELINFO</p>
<p>***************************</p>
<p>1 functions &laquo;&nbsp;has been removed&nbsp;&raquo; :</p>
<p>mex:            This option has been removed.</p>
<p>***************************</p>
<p>7 functions &laquo;&nbsp;deprecated&nbsp;&raquo; :</p>
<p>mexdebug:    MEXDEBUG has been deprecated, use DBMEX instead.</p>
<p>movefile:    NOTE 5: &lsquo;writable&rsquo; is being deprecated, but still supported for backwards</p>
<p>path2rc:    PATH2RC is deprecated and has been renamed to SAVEPATH.  PATH2RC still</p>
<p>helpwin:    of multi-page help text.  Note: this calling sequence is deprecated and</p>
<p>rand:    syntax is still supported for backwards compatibility, but is deprecated.</p>
<p>randn:    still supported for backwards compatibility, but is deprecated. Beginning</p>
<p>actxserver:   The following syntaxes are deprecated and will not become obsolete.  They</p>
<p>***************************</p>
<p>14 functions &laquo;&nbsp;is obsolete&nbsp;&raquo; :</p>
<p>sshow:    (This function is obsolete.  Use MAKESHOW and PLAYSHOW instead.)</p>
<p>isglobal:    ISGLOBAL is obsolete and will be discontinued in a future</p>
<p>uigetfile:    NOTE: THIS SYNTAX IS OBSOLETE AND WILL BE IGNORED<br />
uigetfile:    NOTE: THIS SYNTAX IS OBSOLETE AND WILL BE IGNORED. </p>
<p>uiputfile:    NOTE: THIS SYNTAX IS OBSOLETE AND WILL BE IGNORED.<br />
uiputfile:    NOTE: THIS SYNTAX IS OBSOLETE AND WILL BE IGNORED. </p>
<p>wizard:    WIZARD is obsolete and may be removed from future versions.</p>
<p>imfeature:    Note: This function is obsolete and may be removed in</p>
<p>imview:    Note: This function is obsolete and may be removed in</p>
<p>cremez:    CREMEZ is obsolete.  CREMEZ still works but may be removed in the future.</p>
<p>freqzplot:    FREQZPLOT is obsolete.  FREQZPLOT still works but may be</p>
<p>remez:    REMEZ is obsolete.  REMEZ still works but may be removed in the future.</p>
<p>remezord:    REMEZORD is obsolete.  REMEZORD still works but may be removed in the</p>
<p>specplot:    SPECPLOT is obsolete.  SPECPLOT still works but may be removed in the</p>
<p>spectrum:    NOTE: The function form of SPECTRUM is obsolete. It still works but may</p>
<p>***************************</p>
<p>28 functions &laquo;&nbsp;will be removed in a future release&nbsp;&raquo; :</p>
<p>mmreader:    MMREADER will be removed in a future release.  Use VideoReader instead.</p>
<p>avifinfo:    AVIFINFO will be removed in a future release. Use MMREADER</p>
<p>aviinfo:    AVIINFO will be removed in a future release. Use MMREADER</p>
<p>aviread:    AVIREAD will be removed in a future release. Use MMREADER</p>
<p>wavplay:    WAVPLAY will be removed in a future release.  Use AUDIOPLAYER instead.</p>
<p>wavrecord:    WAVRECORD will be removed in a future release.  Use AUDIORECORDER</p>
<p>codetoolsswitchyard: This function will be removed in a future release.</p>
<p>maxNumCompThreads:    maxNumCompThreads will be removed in a future release.  Please remove</p>
<p>exifread: will be removed in a future release. Please use IMFINFO instead.</p>
<p>str2rng:    STR2RNG will be removed in a future release. </p>
<p>wk1const:    WK1CONST will be removed in a future release. </p>
<p>wk1finfo:    WK1FINFO will be removed in a future release. </p>
<p>wk1read:    WK1READ will be removed in a future release. </p>
<p>wk1wrec:    WK1WREC will be removed in a future release. </p>
<p>wk1write:    WK1WRITE will be removed in a future release. </p>
<p>intwarning:    INTWARNING will be removed in a future release.</p>
<p>delaunay3:    DELAUNAY3 will be removed in a future release. Use DelaunayTri instead.</p>
<p>dsearch:    DSEARCH will be removed in a future release.</p>
<p>griddata:    these options will be removed in a future release. </p>
<p>griddata3:    GRIDDATA3 will be removed in a future release. Use TriScatteredInterp instead.</p>
<p>tsearch:    TSEARCH will be removed in a future release.</p>
<p>bessel: will be removed in a future release. Use BESSELJ instead.</p>
<p>findstr:    FINDSTR will be removed in a future release. Use STRFIND instead.</p>
<p>isstr:    ISSTR will be removed in a future release. Use ISCHAR instead.</p>
<p>setstr:    SETSTR will be removed in a future release. Use CHAR instead.</p>
<p>str2mat:    STR2MAT will be removed in a future release. Use CHAR instead.</p>
<p>strmatch:    STRMATCH will be removed in a future release. Use STRNCMP instead.</p>
<p>strvcat:    STRVCAT will be removed in a future release. Use CHAR instead.</p>
<p>***************************</p>
<p>60 functions &laquo;&nbsp;undocumented&nbsp;&raquo; :</p>
<p>functionhintsfunc: This undocumented function may be removed in a future release.</p>
<p>makemcode: This undocumented function may change in a future release.</p>
<p>capturescreen: undocumented helper function which may be removed in a future release of MATLAB</p>
<p>hgfeval: This undocumented helper function is for internal use.</p>
<p>isdfgate:    This is an undocumented function and may be removed in a future release.</p>
<p>doclink: This function is undocumented and reserved for internal use.  It may be</p>
<p>online_concatenator: This function is undocumented and reserved for internal use.  It may be</p>
<p>parfor_M_check: This function is undocumented and reserved for internal use.  It may be</p>
<p>parfor_endpoint_check: This function is undocumented and reserved for internal use.  It may be</p>
<p>parfor_range_check: This function is undocumented and reserved for internal use.  It may be</p>
<p>parfor_sliced_fcnhdl_check: This function is undocumented and reserved for internal use.  It may be</p>
<p>adddatadlg: This undocumented function may be removed in a future release.</p>
<p>addsubplot: This undocumented function may be removed in a future release.</p>
<p>enableplottoolbuttons: This undocumented function may be removed in a future release.</p>
<p>getfigurefordesktopclient: This undocumented function may be removed in a future release.</p>
<p>getplottool: This undocumented function may be removed in a future release.</p>
<p>javaAddLsnrsToFigure: This undocumented function may be removed in a future release.</p>
<p>javaGetHandles: This undocumented function may be removed in a future release.</p>
<p>makedisplaynames: This undocumented function may be removed in a future release.</p>
<p>plottoolfunc: This undocumented function may be removed in a future release.</p>
<p>setupplotbrowser: This undocumented function may be removed in a future release.</p>
<p>usev6plotapi: This undocumented function may be removed in a future release</p>
<p>activateuimode: This function is undocumented and will change in a future release</p>
<p>adduimode: This function is undocumented and will change in a future release</p>
<p>awtcreate: This function is undocumented and will change in a future release</p>
<p>awtinvoke: This function is undocumented and will change in a future release</p>
<p>fignamer: This function is undocumented and will change in a future release</p>
<p>getptr: This function is undocumented and will change in a future release</p>
<p>getuimode: This function is undocumented and will change in a future release</p>
<p>hasuimode: This function is undocumented and will change in a future release</p>
<p>isactiveuimode: This function is undocumented and will change in a future release</p>
<p>javacomponent: This function is undocumented and will change in a future release</p>
<p>makemenu: This function is undocumented and will change in a future release</p>
<p>overobj: This function is undocumented and will change in a future release</p>
<p>remapfig: This function is undocumented and will change in a future release</p>
<p>setptr: This function is undocumented and will change in a future release</p>
<p>tabdlg: This function is undocumented and will change in a future release</p>
<p>tipoftheday: This function is undocumented and will change in a future release</p>
<p>uiclearmode: This function is undocumented and will change in a future release</p>
<p>uicontainer: This function is undocumented and will change in a future release</p>
<p>uiflowcontainer: This function is undocumented and will change in a future release</p>
<p>uigetmodemanager: This function is undocumented and will change in a future release</p>
<p>uigettool: This function is undocumented and will change in a future release</p>
<p>uigridcontainer: This function is undocumented and will change in a future release</p>
<p>uiload: This function is undocumented and will change in a future release</p>
<p>uimode: This function is undocumented and will change in a future release</p>
<p>uirestore: This function is undocumented and will change in a future release</p>
<p>uisuspend: This function is undocumented and will change in a future release</p>
<p>uitab: This function is undocumented and will change in a future release</p>
<p>uitabgroup: This function is undocumented and will change in a future release</p>
<p>uitoolfactory: This function is undocumented and will change in a future release</p>
<p>uitree: This function is undocumented and will change in a future release</p>
<p>uitreenode: This function is undocumented and will change in a future release</p>
<p>uiundo: This function is undocumented and will change in a future release</p>
<p>iptgate:    This is an undocumented function and may be removed in a future release.</p>
<p>imuitoolsgate:    This is an undocumented function and may be removed in a future release.</p>
<p>utctrlCheckLogNames: This function is undocumented and will change in a future release.</p>
<p>imageplotfunc:    This is an undocumented function and may be removed in a future release.</p>
<p>completefreqresp:                  This is an undocumented function.</p>
<p>psdfreqvec: This undocumented function may be removed in a future release.</p>
<p>***************************</p>
<p>4 functions &laquo;&nbsp;Internal use only&nbsp;&raquo; :</p>
<p>indentmcode:    This file is for internal use only and is subject to change without</p>
<p>mdbfileonpath:    This file is for internal use only and is subject to change without</p>
<p>is2D: Internal use only. This function may be removed in a future release.</p>
<p>resetplotview: Internal use only. This function may be removed in a future release.</p>
</blockquote>
<p>Si je relance whatsold dans la Prerelease R2011a je vais avoir un nouveau log.<br />
Ce que j&rsquo;ai fait ensuite c&rsquo;est de comparer en utilisant la fonction <strong>visdiff</strong> le résultat des logs  R2010b et R2011a.</p>
<p>On apprend ainsi :</p>
<ul>
<li>Message qui apparaissait en 10 b et qu&rsquo;on ne trouve plus en 11a</li>
</ul>
<blockquote><p><strong>intwarning</strong>:    INTWARNING will be removed in a future release. </p></blockquote>
<ul>
<li><strong>Nouveaux messages en R2011a:</strong></li>
</ul>
<p>Les  fonctions qui n&rsquo;existent plus en R2011a :   </p>
<blockquote><p> <strong>ipttable</strong>:   IPTTABLE has been removed. Use UITABLE instead.<br />
<strong>cholinc</strong>:    CHOLINC will be removed in a future release.  Use ICHOL instead.<br />
cholinc:    CHOLINC(X,&rsquo;inf&rsquo;) will be removed in a future release.<br />
<strong>luinc</strong>:    LUINC will be removed in a future release.  Use ILU instead. </p></blockquote>
<p>Les nouvelles fonctions en R2011a non-documentées:   </p>
<blockquote><p><strong>primitivevertexpicker</strong>: This function is undocumented and may change in a future release.<br />
<strong>contours</strong>: This undocumented function may be removed in a future release.<br />
<strong>makebars</strong>: This undocumented function may be removed in a future release.<br />
<strong>figureDefaultMenubar</strong>: This function is undocumented and will change in a future release.<br />
<strong>figureDefaultToolbar</strong>: This function is undocumented and will change in a future release.</p></blockquote>
<p>Hum hum intéressant tout ça &#8230;<br />
Les 2 dernières fonctions non docuementées font ce que leur nom indiquent:</p>
<blockquote><p>figureDefaultMenubar : Create default toolbar.<br />
figureDefaultToolbar : Create default menus.</p></blockquote>
<p>Quant aux autres voilà ce qu&rsquo;on lit dans le Header du M-file:<br />
MAKEBARS : Make data for bar charts.<br />
CONTOURS : Contouring over non-rectangular surface.</p>
<p>PRIMITIVEVERTEXPICKER un peu compliqué à mon gout pour en parler!</p>
]]></content:encoded>
			<wfw:commentRss></wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Comparer des dossiers avec un  filtre</title>
		<link>https://blog.developpez.com/matlab4geek/?p=113</link>
		<comments>https://blog.developpez.com/matlab4geek/?p=113#comments</comments>
		<pubDate>Thu, 10 Feb 2011 09:50:33 +0000</pubDate>
		<dc:creator><![CDATA[tug83]]></dc:creator>
				<category><![CDATA[Comparer des dossiers avec un filtre]]></category>
		<category><![CDATA[explore]]></category>
		<category><![CDATA[MEX-files]]></category>
		<category><![CDATA[r2010b]]></category>
		<category><![CDATA[r2011a]]></category>
		<category><![CDATA[structure]]></category>
		<category><![CDATA[visdiff]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Citons les Releases Notes R2011a Dans les releases notes de la R2011a , au chapitre Desktop Tools and Development Environment, MATLAB Version 7.12 (R2011a) on peut lire : Filter Results in Folder Comparisons You can now define filters to exclude unimportant differences when comparing folders. For example, you can exclude backup files or files created [&#8230;]]]></description>
				<content:encoded><![CDATA[<ul>
<li>Citons les Releases Notes R2011a</li>
</ul>
<p>Dans les releases notes de la R2011a , au chapitre <em>Desktop Tools and Development Environment, MATLAB Version 7.12 (R2011a)</em> on peut lire :</p>
<blockquote><p>
<em>Filter Results in Folder Comparisons</p>
<p>You can now <strong>define filters to exclude unimportant differences when comparing folders</strong>. For example, you can exclude backup files or files created by a revision control system. Filters can save time when reviewing differences, especially when comparing many subfolders.</em></p></blockquote>
<ul>
<li>Exemple </li>
</ul>
<p>Concrètement imaginons que je veuille comparer les répertoires <strong>\matlabroot\extern\examples\mex</strong> de la R2010b et de la R2011a:<br />
sur ma machine en ligne de commande cela revient à taper:</p>
<blockquote><p>&gt;&gt; <strong>visdiff</strong>(&lsquo;C:\Program Files\MATLAB\<strong>R2011a</strong>\extern\examples\mex&rsquo;,&rsquo;C:\Program Files\MATLAB\<strong>R2010b</strong>\extern\examples\mex&rsquo;)</p></blockquote>
<p>Pour info , ces répertoires donnent des exemples pour apprendre à écrire des MEX-files en C ou en Fortran.</p>
<p>et voilà ce que j&rsquo;obtiens dans le <strong>Comparison Tool</strong> :</p>
<blockquote><p><img src="http://blog.developpez.com/media/comparison tool matlab_01.jpg" width="640" height="510" alt="comparison tool" /></p></blockquote>
<p>Seul un fichier est différent c&rsquo;est le fichier binaire explore.mexw32 qui est un MEX file compilé à partir de l&rsquo;exemple explore.c.<br />
Évidemment <strong>comparer des fichiers binaires n&rsquo;a pas de sens</strong>. Donc à partir de la R2011a il est possible de filtrer les résultats dans l&rsquo;outil de comparaison.</p>
<ul>
<li>Petite parenthèse sur explore.c</li>
</ul>
<p>Ra je ne peux pas m’empêcher de vous parler de ce fichier qui est fort utile, non seulement pour écrire des Mex-files mais aussi pour comme son nom l&rsquo;indique explorer ses variables MATLAB : structure , cellule , valeurs numériques, chaines de caractères &#8230; Par exemple imaginons que je crée la structure suivante :</p>
<blockquote><p>&gt;&gt; aurelien.age=31</p>
<p>aurelien = </p>
<p>    age: 31</p>
<p>&gt;&gt; aurelien.passion=&rsquo;matlab&rsquo;</p>
<p>aurelien = </p>
<p>        age: 31<br />
    passion: &lsquo;matlab&rsquo;
</p></blockquote>
<p>Si je lance explore dans MATLAB , ce qui va marcher car il a été <strong>mexé sous Windows </strong>comme on dit dans le milieu geek , j&rsquo;obtiens :</p>
<blockquote><p>&gt;&gt; explore(aurelien)</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
Name: prhs[0]<br />
Dimensions: 1&#215;1<br />
Class Name: struct<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>		(1,1).age<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
Dimensions: 1&#215;1<br />
Class Name: double<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
	(1,1) = 31</p>
<p>		(1,1).passion<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
Dimensions: 1&#215;6<br />
Class Name: char<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
	(1,1) matlab</p></blockquote>
<p>C&rsquo;est pas génial ça?!!!</p>
<ul>
<li>Et maintenant utilisons le filtre!</li>
</ul>
<p>En cliquant sur le bouton:</p>
<blockquote><p><img src="http://blog.developpez.com/media/filter visdiff.JPG" width="614" height="198" alt="filter visdiff" /></p></blockquote>
<p>apparait cette petite interface qui me permet de rajouter un filtre:</p>
<p><img src="http://blog.developpez.com/media/file and folders filters.JPG" width="283" height="289" alt="file and folders filters" /></p>
<p>je vais pouvoir ajouter mon filtre *.mexw32 en cliquant sur le bouton + :</p>
<p><img src="http://blog.developpez.com/media/add filter.JPG" width="271" height="122" alt="add filter" /></p>
<p>ce qui me rajoute un troisième élément à ma liste d&rsquo;extension à exclure:</p>
<p><img src="http://blog.developpez.com/media/mexw32.JPG" width="282" height="283" alt="mexw32" /></p>
<p>En cliquant sur OK, les changements prennent effet immédiatement. Et on voit que le mex file est à présent ignoré dans la comparaison:</p>
<p><img src="http://blog.developpez.com/media/ignore mex.JPG" width="640" height="510" alt="matlab mex" /></p>
<p>Voilà moi je trouve ça super comme nouvelle fonctionnalité , encore une bonne raison d&rsquo;upgrader en  R2011a! </p>
]]></content:encoded>
			<wfw:commentRss></wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
