{"id":398,"date":"2010-09-06T12:57:11","date_gmt":"2010-09-06T12:57:11","guid":{"rendered":"https:\/\/blogs.mathworks.com\/desktop\/2010\/09\/06\/new-and-updated-features-in-matlab-r2010b\/"},"modified":"2016-04-05T14:23:04","modified_gmt":"2016-04-05T18:23:04","slug":"new-and-updated-features-in-matlab-r2010b","status":"publish","type":"post","link":"https:\/\/blogs.mathworks.com\/community\/2010\/09\/06\/new-and-updated-features-in-matlab-r2010b\/","title":{"rendered":"New and Updated Features in MATLAB R2010b"},"content":{"rendered":"<p>Even though our 6-month releases are well scheduled, it always feels like they sneak up on me. Well, MATLAB R2010b is available now. There are lots of great new features in there, including a few I&#8217;m quite proud of. Below, I&#8217;ve called out some of my favorite new and updated Desktop features.<\/p>\n<p>To get this latest release go <a href=\"https:\/\/www.mathworks.com\/downloads\/web_downloads\">here<\/a>, or if you&#8217;re using R2008b or later, you can select <i>Help -&gt; Check for Updates<\/i>.<\/p>\n<p>Be sure to <a href=\"https:\/\/blogs.mathworks.com\/community\/?p=398#respond\">let us know what you think<\/a> of these new features!<\/p>\n<p><!-- Zip Files --><\/p>\n<table>\n<tbody>\n<tr>\n<td><img decoding=\"async\" src=\"https:\/\/blogs.mathworks.com\/images\/desktop\/ken_orr_new_features_in_r2009a\/updated.png\" alt=\"\" border=\"0\" \/><\/td>\n<td colspan=\"2\"><a href=\"https:\/\/www.mathworks.com\/help\/releases\/R2010b\/techdoc\/matlab_env\/br5ro6o-1.html#bsernjm\">ZIP File Handling<\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<table>\n<tbody>\n<tr>\n<td valign=\"top\"><img decoding=\"async\" src=\"https:\/\/blogs.mathworks.com\/images\/desktop\/michael_katz_r2010b\/zip_view.png\" alt=\"View a ZIP file in the Current Folder Browser\" border=\"0\" \/><\/td>\n<td valign=\"top\">You can now expand ZIP files right from the Current Folder Browser and manipulate the files inside. In addition you can compare the contents of ZIP files with the File and Folder Comparison Tool.<br \/>\n<a href=\"https:\/\/www.mathworks.com\/support\/2010b\/matlab\/7.11\/demos\/zip-file-browsing-in-r2010b.html\">Watch the video<\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><!-- Variable Highlighting --><\/p>\n<table>\n<tbody>\n<tr>\n<td><img decoding=\"async\" src=\"https:\/\/blogs.mathworks.com\/images\/desktop\/ken_orr_new_features_in_r2009a\/new.png\" alt=\"\" border=\"0\" \/><\/td>\n<td colspan=\"2\"><a href=\"https:\/\/www.mathworks.com\/help\/releases\/R2010b\/techdoc\/matlab_env\/brqxeeu-151.html#bsly5fg\">Variable and Subfunction Highlighting<\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<table>\n<tbody>\n<tr>\n<td valign=\"top\"><img decoding=\"async\" src=\"https:\/\/blogs.mathworks.com\/images\/desktop\/michael_katz_r2010b\/var_highlighting.png\" alt=\"Variable Highlighting in the Editor\" border=\"0\" \/><\/td>\n<td valign=\"top\">There are lots of new options in the Editor for determining variable and subfunction use in a file. Placing the caret in a variable or subfunction name will cause the Editor to highlight all the places that variable\/subfunction is used. Also now colored in the Editor are variables shared by nested functions. If you are annoyed by this feature, the colors are configurable in the Preferences. It&#8217;s a powerful feature with lots of subtle gems, so I&#8217;ll be explaining more about it in the coming weeks.<br \/>\n<a href=\"https:\/\/www.mathworks.com\/support\/2010b\/matlab\/7.11\/demos\/variable-and-function-highlighting-in-r2010b.html\">Watch the video<\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><!-- Enumeration Templates --><\/p>\n<table>\n<tbody>\n<tr>\n<td><img decoding=\"async\" src=\"https:\/\/blogs.mathworks.com\/images\/desktop\/ken_orr_new_features_in_r2009a\/new.png\" alt=\"\" border=\"0\" \/><\/td>\n<td colspan=\"2\"><a href=\"https:\/\/www.mathworks.com\/help\/releases\/R2010b\/techdoc\/matlab_oop\/bsibelu.html\">Enumeration Templates<\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<table>\n<tbody>\n<tr>\n<td valign=\"top\"><img decoding=\"async\" src=\"https:\/\/blogs.mathworks.com\/images\/desktop\/michael_katz_r2010b\/enumeration.png\" alt=\"Enumeration Template\" border=\"0\" \/><\/td>\n<td valign=\"top\">To support the new Enumeration class type in MATLAB, we&#8217;ve added an Enumeration Template to File -&gt; New. If you&#8217;ve been using the MATLAB class system over the past couple of releases, you&#8217;ll find this an exciting and welcome addition.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><!-- Date Format --><\/p>\n<table>\n<tbody>\n<tr>\n<td><img decoding=\"async\" src=\"https:\/\/blogs.mathworks.com\/images\/desktop\/ken_orr_new_features_in_r2009a\/updated.png\" alt=\"\" border=\"0\" \/><\/td>\n<td colspan=\"2\"><a href=\"https:\/\/www.mathworks.com\/help\/releases\/R2010b\/techdoc\/matlab_env\/br5rtt_.html#br7v5ru-1\">Customizeable Date Format in Current Folder Browser<\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<table>\n<tbody>\n<tr>\n<td valign=\"top\"><img decoding=\"async\" src=\"https:\/\/www.mathworks.com\/help\/releases\/R2010b\/techdoc\/rn\/date_format_in_tools.gif\" alt=\"Customizeable Dates\" width=\"250\" border=\"0\" \/><\/td>\n<td valign=\"top\">You can now customize how the file modified dates are displayed in the Current Folder Browser and Command History.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><!-- Save Backup --><\/p>\n<table>\n<tbody>\n<tr>\n<td><img decoding=\"async\" src=\"https:\/\/blogs.mathworks.com\/images\/desktop\/ken_orr_new_features_in_r2009a\/updated.png\" alt=\"\" border=\"0\" \/><\/td>\n<td colspan=\"2\"><a href=\"https:\/\/www.mathworks.com\/help\/releases\/R2010b\/techdoc\/matlab_env\/brqxeeu-123.html#brqxeeu-124\">Save File as Backup<\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<table>\n<tbody>\n<tr>\n<td valign=\"top\"><img decoding=\"async\" src=\"https:\/\/blogs.mathworks.com\/images\/desktop\/michael_katz_r2010b\/save_backup.png\" alt=\"Save Backup of file in Editor\" width=\"150\" border=\"0\" \/><\/td>\n<td valign=\"top\">From the Editor, we now provide the ability to save a backup from the File menu. Instead of using &#8220;Save As,&#8221; which changes the location of the file being edited, this creates a copy, but leaves the original open in the Editor.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><!-- Image Details --><\/p>\n<table>\n<tbody>\n<tr>\n<td><img decoding=\"async\" src=\"https:\/\/blogs.mathworks.com\/images\/desktop\/ken_orr_new_features_in_r2009a\/updated.png\" alt=\"\" border=\"0\" \/><\/td>\n<td colspan=\"2\"><a href=\"https:\/\/www.mathworks.com\/help\/releases\/R2010b\/techdoc\/matlab_env\/br5rtt_.html#br7v5sv-1\">Image Preview in Current Folder Browser<\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<table>\n<tbody>\n<tr>\n<td valign=\"top\"><img decoding=\"async\" src=\"https:\/\/blogs.mathworks.com\/images\/desktop\/michael_katz_r2010b\/image_preview.png\" alt=\"Image Preview\" border=\"0\" \/><\/td>\n<td valign=\"top\">Image files (JPEG, JPG, BMP, WBMP, PNG, or GIF) now have previews in the Current Folder Browser.<br \/>\n<a href=\"https:\/\/www.mathworks.com\/support\/2010b\/matlab\/7.11\/demos\/variable-and-function-highlighting-in-r2010b.html\">Watch the video<\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><!-- Modified in Editor --><\/p>\n<table>\n<tbody>\n<tr>\n<td><img decoding=\"async\" src=\"https:\/\/blogs.mathworks.com\/images\/desktop\/ken_orr_new_features_in_r2009a\/updated.png\" alt=\"\" border=\"0\" \/><\/td>\n<td colspan=\"2\"><a href=\"https:\/\/www.mathworks.com\/help\/releases\/R2010b\/techdoc\/matlab_env\/br5rtt_.html#br7v5sv-1\">Modified in Editor Indicator<\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<table>\n<tbody>\n<tr>\n<td valign=\"top\"><img decoding=\"async\" src=\"https:\/\/www.mathworks.com\/help\/releases\/R2010b\/techdoc\/matlab_env\/dirty_panel.png\" alt=\"Show Modified In Editor\" width=\"250\" border=\"0\" \/><\/td>\n<td valign=\"top\">If you&#8217;re looking at a folder containing open Editor files, the Current Folder Browser now indicates if those files have unsaved changes.<br \/>\n<a href=\"https:\/\/www.mathworks.com\/support\/2010b\/matlab\/7.11\/demos\/variable-and-function-highlighting-in-r2010b.html\">Watch the video<\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><!-- Improved Comments --><\/p>\n<table>\n<tbody>\n<tr>\n<td><img decoding=\"async\" src=\"https:\/\/blogs.mathworks.com\/images\/desktop\/ken_orr_new_features_in_r2009a\/updated.png\" alt=\"\" border=\"0\" \/><\/td>\n<td colspan=\"2\"><a href=\"https:\/\/www.mathworks.com\/help\/releases\/R2010b\/techdoc\/matlab_env\/brqxeeu-23.html#bsjl2kr-1\">Improved Comment Wrapping<\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<table>\n<tbody>\n<tr>\n<td valign=\"top\"><img decoding=\"async\" src=\"https:\/\/blogs.mathworks.com\/images\/desktop\/michael_katz_r2010b\/format_options.png\" alt=\"Code Folding Preferences\" border=\"0\" \/><\/td>\n<td valign=\"top\">The MATLAB Editor now supports smarter comment wrapping, wrapping of block comments, and the ability to specify where column counting starts. In addition, you no longer need to select the comments to wrap them, you can just put the caret in a comment block.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><!-- Open as Text --><\/p>\n<table>\n<tbody>\n<tr>\n<td><img decoding=\"async\" src=\"https:\/\/blogs.mathworks.com\/images\/desktop\/ken_orr_new_features_in_r2009a\/new.png\" alt=\"\" border=\"0\" \/><\/td>\n<td colspan=\"2\"><a href=\"https:\/\/www.mathworks.com\/help\/releases\/R2010b\/techdoc\/matlab_env\/brqxeeu-11.html#brqxeeu-15\">Open As Text<\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<table>\n<tbody>\n<tr>\n<td valign=\"top\"><img decoding=\"async\" src=\"https:\/\/blogs.mathworks.com\/images\/desktop\/michael_katz_r2010b\/open_text.png\" alt=\"Open As Text Menu Option\" border=\"0\" \/><\/td>\n<td valign=\"top\">Regardless of a file&#8217;s type and association, you can now use File -&gt; Open As Text to open it in the editor. This is great for certain types of data files, XML files, and Simulink models.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><!-- Current File Path --><\/p>\n<table>\n<tbody>\n<tr>\n<td><img decoding=\"async\" src=\"https:\/\/blogs.mathworks.com\/images\/desktop\/ken_orr_new_features_in_r2009a\/new.png\" alt=\"\" border=\"0\" \/><\/td>\n<td colspan=\"2\">Work with an Open File&#8217;s Path<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<table>\n<tbody>\n<tr>\n<td valign=\"top\"><img decoding=\"async\" src=\"https:\/\/blogs.mathworks.com\/images\/desktop\/michael_katz_r2010b\/path_menu.png\" alt=\"Path Menu\" border=\"0\" \/><\/td>\n<td valign=\"top\">Have you ever run an open file in the Editor just to change to it&#8217;s directory? I have. Now you can CD to a file&#8217;s folder, change whether that folder is on the path, open in the Windows Explorer or Mac Finder, or copy the location the clipboard. All from the file&#8217;s Editor tab.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n","protected":false},"excerpt":{"rendered":"<p>Even though our 6-month releases are well scheduled, it always feels like they sneak up on me. Well, MATLAB R2010b is available now. There are lots of great new features in there, including a few&#8230; <a class=\"read-more\" href=\"https:\/\/blogs.mathworks.com\/community\/2010\/09\/06\/new-and-updated-features-in-matlab-r2010b\/\">read more >><\/a><\/p>\n","protected":false},"author":38,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[2,4,8,9,6,57],"tags":[],"_links":{"self":[{"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/posts\/398"}],"collection":[{"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/users\/38"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/comments?post=398"}],"version-history":[{"count":1,"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/posts\/398\/revisions"}],"predecessor-version":[{"id":3529,"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/posts\/398\/revisions\/3529"}],"wp:attachment":[{"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/media?parent=398"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/categories?post=398"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/tags?post=398"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}