{"id":528,"date":"2012-09-19T11:53:35","date_gmt":"2012-09-19T16:53:35","guid":{"rendered":"https:\/\/blogs.mathworks.com\/loren\/?p=528"},"modified":"2012-09-24T07:41:53","modified_gmt":"2012-09-24T12:41:53","slug":"the-matlab-r2012b-desktop-part-2-customizing-the-r2012b-matlab-desktop","status":"publish","type":"post","link":"https:\/\/blogs.mathworks.com\/loren\/2012\/09\/19\/the-matlab-r2012b-desktop-part-2-customizing-the-r2012b-matlab-desktop\/","title":{"rendered":"The MATLAB R2012b Desktop &#8211; Part 2: Customizing the R2012b MATLAB Desktop"},"content":{"rendered":"<!DOCTYPE html\r\n  PUBLIC \"-\/\/W3C\/\/DTD HTML 4.01 Transitional\/\/EN\">\r\n<style type=\"text\/css\">\r\n\r\nh1 { font-size:18pt; }\r\nh2.titlebg { font-size:13pt; }\r\nh3 { color:#4A4F55; padding:0px; margin:5px 0px 5px; font-family:Arial, Helvetica, sans-serif; font-size:11pt; font-weight:bold; line-height:140%; border-bottom:1px solid #d6d4d4; display:block; }\r\nh4 { color:#4A4F55; padding:0px; margin:0px 0px 5px; font-family:Arial, Helvetica, sans-serif; font-size:10pt; font-weight:bold; line-height:140%; border-bottom:1px solid #d6d4d4; display:block; }\r\n   \r\np { padding:0px; margin:0px 0px 20px; }\r\nimg { padding:0px; margin:0px 0px 20px; border:none; }\r\np img, pre img, tt img, li img { margin-bottom:0px; } \r\n\r\nul { padding:0px; margin:0px 0px 20px 23px; list-style:square; }\r\nul li { padding:0px; margin:0px 0px 7px 0px; background:none; }\r\nul li ul { padding:5px 0px 0px; margin:0px 0px 7px 23px; }\r\nul li ol li { list-style:decimal; }\r\nol { padding:0px; margin:0px 0px 20px 0px; list-style:decimal; }\r\nol li { padding:0px; margin:0px 0px 7px 23px; list-style-type:decimal; }\r\nol li ol { padding:5px 0px 0px; margin:0px 0px 7px 0px; }\r\nol li ol li { list-style-type:lower-alpha; }\r\nol li ul { padding-top:7px; }\r\nol li ul li { list-style:square; }\r\n\r\npre, tt, code { font-size:12px; }\r\npre { margin:0px 0px 20px; }\r\npre.error { color:red; }\r\npre.codeinput { padding:10px; border:1px solid #d3d3d3; background:#f7f7f7; }\r\npre.codeoutput { padding:10px 11px; margin:0px 0px 20px; color:#4c4c4c; }\r\n\r\n@media print { pre.codeinput, pre.codeoutput { word-wrap:break-word; width:100%; } }\r\n\r\nspan.keyword { color:#0000FF }\r\nspan.comment { color:#228B22 }\r\nspan.string { color:#A020F0 }\r\nspan.untermstring { color:#B20000 }\r\nspan.syscmd { color:#B28C00 }\r\n\r\n.footer { width:auto; padding:10px 0px; margin:25px 0px 0px; border-top:1px dotted #878787; font-size:0.8em; line-height:140%; font-style:italic; color:#878787; text-align:left; float:none; }\r\n.footer p { margin:0px; }\r\n\r\n  <\/style><div class=\"content\"><!--introduction--><p>Today, <a href=\"mailto:david.garrison@mathworks.com\">David Garrison<\/a>, our guest blogger, will continue his series on the R2012b Desktop.<\/p><div><ul><li>Part 1: Introduction to the Toolstrip<\/li><li><b>Part 2: Customizing the R2012b MATLAB Desktop<\/b><\/li><li>Part 3: MATLAB Apps<\/li><\/ul><\/div><p>Here is Part 2 of the series.<\/p><!--\/introduction--><h3>Contents<\/h3><div><ul><li><a href=\"#0e7544a8-abca-45ee-bcee-e33b2c5604ec\">What have we learned so far?<\/a><\/li><li><a href=\"#69947b40-3fc7-41ea-999e-c72a17f9fc10\">Customizing the R2012b Desktop<\/a><\/li><li><a href=\"#9f3ea4be-c363-4b18-94f3-a5c8945de9c2\">The Current Folder Toolbar<\/a><\/li><li><a href=\"#2bba4b23-8909-4bd9-a8b7-ea6ca0aa88f7\">The Quick Access Toolbar<\/a><\/li><li><a href=\"#17fdb82b-7f8e-4083-95e6-05aa7523c3c8\">Managing Shortcuts in R2012b<\/a><\/li><li><a href=\"#c13e0ed3-7cd4-48e1-9509-991f49585aa5\">Have you customized your R2012b Desktop?<\/a><\/li><li><a href=\"#67017d29-1444-4875-b23b-859cdb6fbc67\">Next up -- Part 3: MATLAB Apps<\/a><\/li><\/ul><\/div><h4>What have we learned so far?<a name=\"0e7544a8-abca-45ee-bcee-e33b2c5604ec\"><\/a><\/h4><p>In <a href=\"https:\/\/blogs.mathworks.com\/loren\/2012\/09\/12\/the-matlab-r2012b-desktop-part-1-introduction-to-the-toolstrip\/\">Part 1<\/a> of this series, I provided an introduction to the new Toolstrip in MATLAB R2012b. I described the basic organization of the Toolstrip, the concepts of global and contextual tabs, and other ways that the Toolstrip adjusts to your current working context.  Today, we'll talk about new ways to customize the R2012b Desktop.<\/p><h4>Customizing the R2012b Desktop<a name=\"69947b40-3fc7-41ea-999e-c72a17f9fc10\"><\/a><\/h4><p>MATLAB has historically provided a number of ways to manage the configuration of your Desktop.  You can move windows around, resize them, even undock windows from the main Desktop.  You can still do all of those things in R2012b and they pretty much work the same way.  The only change in R2012b is that the window controls (maximize, minimize, undock, etc.) have been moved from the window's title bar to a drop down menu in the upper right hand corner of each window.  The figure below shows the difference between R2012a and R2012b.<\/p><p><img decoding=\"async\" vspace=\"5\" hspace=\"5\" src=\"https:\/\/blogs.mathworks.com\/images\/loren\/2012\/R2012bDesktop2_WindowControls.png\" alt=\"\"> <\/p><p>In Part 1, we described how to minimize and restore the Toolstrip.  Minimizing the Toolstrip can be very useful when you need to maximize vertical space.  But minimizing the Toolstrip is only the tip of the iceberg.  There are several new ways in R2012b to customize your Desktop which we'll cover in the following sections.<\/p><h4>The Current Folder Toolbar<a name=\"9f3ea4be-c363-4b18-94f3-a5c8945de9c2\"><\/a><\/h4><p>If you look carefully at the picture above of the Current Folder in R2012b, you'll notice something else that's different.  In R2012b, the toolbar in the Current Folder is not there.  Don't worry, it hasn't disappeared, it's just in a different place.  In R2012b, it's default location is below the Toolstrip. We moved it because in previous versions it could only be as wide as the Current Folder. By putting it under the Toolstrip, it's now as wide as your Desktop. This is very useful if you want to add additional buttons to your Current Folder Toolbar or if your current path happens to be long.  Here's what it looks like in R2012b with some extra buttons that I use for easy access to MATLAB reports.<\/p><p><img decoding=\"async\" vspace=\"5\" hspace=\"5\" src=\"https:\/\/blogs.mathworks.com\/images\/loren\/2012\/R2012bDesktop2_CFToolbar.png\" alt=\"\"> <\/p><p>You can put the toolbar back inside the Current Folder if you want.  However, I like the new position much better because it provides so much more room.  To add extra buttons to the Current Folder Toolbar, right-click on it and then select \"Customize...\".<\/p><h4>The Quick Access Toolbar<a name=\"2bba4b23-8909-4bd9-a8b7-ea6ca0aa88f7\"><\/a><\/h4><p>By now, you've probably noticed the light blue toolbar in the top right hand corner of the R2012b Desktop.  That's called the Quick Access Toolbar.  It's there to provide single click access to the Toolstrip functionality you use most often.<\/p><p><img decoding=\"async\" vspace=\"5\" hspace=\"5\" src=\"https:\/\/blogs.mathworks.com\/images\/loren\/2012\/R2012bDesktop2_QAT1.png\" alt=\"\"> <\/p><p>When you open MATLAB R2012b for the first time you'll notice that the Quick Access Toolbar is pre-populated with controls that are used throughout the Desktop including cut\/copy\/paste and undo\/redo. These are useful things, of course, but there's more. Any control from the Toolstrip tabs can be placed in the Quick Access Toolbar so Toolstrip functionality is available to you anytime.<\/p><p>Let's imagine you're working on a project where you have to analyze a lot of data from files.  To get your data into MATLAB, you will need to have easy access to the Import Tool.  From the Home tab, you would simply right click on \"Import Tool\" and select \"Add to Quick Access Toolbar\".<\/p><p><img decoding=\"async\" vspace=\"5\" hspace=\"5\" src=\"https:\/\/blogs.mathworks.com\/images\/loren\/2012\/R2012bDesktop2_AddQAT1.png\" alt=\"\"> <\/p><p>Maybe you will also use box plots as part of your statistical analysis. From the Plots tab, you would right click on \"boxplot\" and add it to the Quick Access Toolbar.  Any plot in the pulldown gallery of plots can be added in the same way.<\/p><p><img decoding=\"async\" vspace=\"5\" hspace=\"5\" src=\"https:\/\/blogs.mathworks.com\/images\/loren\/2012\/R2012bDesktop2_AddQAT2.png\" alt=\"\"> <\/p><p>Finally, your project will require that you do some curve fitting.  For that, you would go the Apps tab and right click on \"Curve Fitting\" and add it to the Quick Access Toolbar.<\/p><p><img decoding=\"async\" vspace=\"5\" hspace=\"5\" src=\"https:\/\/blogs.mathworks.com\/images\/loren\/2012\/R2012bDesktop2_AddQAT3.png\" alt=\"\"> <\/p><p>After adding these three controls, your Quick Access Toolbar would look like this:<\/p><p><img decoding=\"async\" vspace=\"5\" hspace=\"5\" src=\"https:\/\/blogs.mathworks.com\/images\/loren\/2012\/R2012bDesktop2_QAT2.png\" alt=\"\"> <\/p><p>You can also add controls from Contextual tabs like the Editor.  For example, you may want to have debugging controls easily accessible if you are debugging your code when the Editor is closed.  Any control from the Toolstrip, even those in drop-down menus, can be added to the Quick Access Toolbar. You can even add your own shortcuts to the Quick Access Toolbar.  More on that in the next section.<\/p><p>Removing icons is just as easy.  Just right click on any icon in the Quick Access Toolbar and select \"Remove from Quick Access Toolbar\".  Let's suppose you use keyboard shortcuts for cut, copy, paste, and other common operations.  You can remove them as shown below.  You can always put them back if you change your mind.<\/p><p><img decoding=\"async\" vspace=\"5\" hspace=\"5\" src=\"https:\/\/blogs.mathworks.com\/images\/loren\/2012\/R2012bDesktop2_QAT3.png\" alt=\"\"> <\/p><p>If you want to do more extensive customization, right-click anywhere in the Quick Access Toolbar and select \"Customize...\"  A dialog box will appear that will allow you to add or remove items, rearrange the icons, or restore the factory defaults.<\/p><p>You may be wondering what happens if you want to add a lot of items to the Quick Access Toolbar.  It looks like the Quick Access Toolbar has limited space.  Happily, you can move the Quick Access Toolbar so it appears below the Toolstrip.  By moving it below the Toolstrip, your Quick Access Toolbar can be as wide as your Desktop.  If you do that it will look something like this:<\/p><p><img decoding=\"async\" vspace=\"5\" hspace=\"5\" src=\"https:\/\/blogs.mathworks.com\/images\/loren\/2012\/R2012bDesktop2_QATbelowTS.png\" alt=\"\"> <\/p><p>Note that the Quick Access Toolbar and the Current Folder Toolbar can be together on a single line or on two separate lines like I've shown here.<\/p><p>If you're like me, you may find that you don't always remember what all those icons do.  If that's the case, right click on any icon and select \"Show Label\".  Using labels allows you to easily find what you need even if your Quick Access Toolbar has many items in it.<\/p><p><img decoding=\"async\" vspace=\"5\" hspace=\"5\" src=\"https:\/\/blogs.mathworks.com\/images\/loren\/2012\/R2012bDesktop2_QATwithLabels.png\" alt=\"\"> <\/p><p>If you've put your most commonly used commands in the Quick Access Toolbar and only occasionally go back to the Toolstrip, you can minimize the Toolstrip to get a Desktop configuration that looks something like this.<\/p><p><img decoding=\"async\" vspace=\"5\" hspace=\"5\" src=\"https:\/\/blogs.mathworks.com\/images\/loren\/2012\/R2012bDesktop2_QATminimizedTS.png\" alt=\"\"> <\/p><h4>Managing Shortcuts in R2012b<a name=\"17fdb82b-7f8e-4083-95e6-05aa7523c3c8\"><\/a><\/h4><p>So now let's talk about shortcuts.  Shortcuts are small bits of MATLAB code that can be assigned to an icon in the MATLAB Desktop for single-click access.  Shortcuts have been in MATLAB for a while.  You can still create and use shortcuts in R2012b.  They work the same -- they're just managed a bit differently.<\/p><p>There are several ways to create a shortcut -- from the New menu on the Home tab, from the Command History, and from the Quick Access Toolbar. When you create a shortcut, you will see the Shortcut Editor dialog.<\/p><p><img decoding=\"async\" vspace=\"5\" hspace=\"5\" src=\"https:\/\/blogs.mathworks.com\/images\/loren\/2012\/R2012bDesktop2_ShortcutEditor.png\" alt=\"\"> <\/p><p>The Shortcut Editor alows you to give your shortcut a name, add your MATLAB code, and select an icon.  You can also specify if you want your Shortcut to appear in the Quick Access Toolbar.  Once you create your first shortcut, you'll notice that a new Shortcuts tab appears.<\/p><p><img decoding=\"async\" vspace=\"5\" hspace=\"5\" src=\"https:\/\/blogs.mathworks.com\/images\/loren\/2012\/R2012bDesktop2_ShortcutsTab1.png\" alt=\"\"> <\/p><p>Any shortcuts you had in your previous version of MATLAB will be available when you use R2012b.  If you have a lot of shortcuts, you can use \"Organize Shortcuts\" on the Shortcuts tab.  Clicking on \"Organize Shortcuts\" will display the Shortcuts Organizer dialog where you can create new categories and arrange your shortcuts.  The categories you create will appear as sections on the Shortcuts tab.  Here is an example.<\/p><p><img decoding=\"async\" vspace=\"5\" hspace=\"5\" src=\"https:\/\/blogs.mathworks.com\/images\/loren\/2012\/R2012bDesktop2_ShortcutsTab2.png\" alt=\"\"> <\/p><p>Put your shortcuts in the Quick Access Toolbar for single click access. If you have a lot of shortcuts put the Quick Access bar below the Toolstrip like we did in the example above.  You can also hide (or show) the Shortcuts tab.  Go to the Environment section of the Home tab and select Layout-&gt;Shortcuts Tab.<\/p><h4>Have you customized your R2012b Desktop?<a name=\"c13e0ed3-7cd4-48e1-9509-991f49585aa5\"><\/a><\/h4><p>We've added a lot of new customization features in the R2012b MATLAB Desktop.  Have you tried out the Quick Access Toolbar or the new Shortcuts tab?  How do you like to organize your Desktop? I'd love to hear your thoughts <a href=\"https:\/\/blogs.mathworks.com\/loren\/?p=528#respond\">here<\/a>.<\/p><h4>Next up -- Part 3: MATLAB Apps<a name=\"67017d29-1444-4875-b23b-859cdb6fbc67\"><\/a><\/h4><p>As you can see, there are several new ways to customize your Desktop in R2012b.  Try out some of the things we talked about.  Next time we'll talk about another big new feature in R2012b - MATLAB apps.<\/p><script language=\"JavaScript\"> <!-- \r\n    function grabCode_61514b0ba6f54574b4d33b46c72e216b() {\r\n        \/\/ Remember the title so we can use it in the new page\r\n        title = document.title;\r\n\r\n        \/\/ Break up these strings so that their presence\r\n        \/\/ in the Javascript doesn't mess up the search for\r\n        \/\/ the MATLAB code.\r\n        t1='61514b0ba6f54574b4d33b46c72e216b ' + '##### ' + 'SOURCE BEGIN' + ' #####';\r\n        t2='##### ' + 'SOURCE END' + ' #####' + ' 61514b0ba6f54574b4d33b46c72e216b';\r\n    \r\n        b=document.getElementsByTagName('body')[0];\r\n        i1=b.innerHTML.indexOf(t1)+t1.length;\r\n        i2=b.innerHTML.indexOf(t2);\r\n \r\n        code_string = b.innerHTML.substring(i1, i2);\r\n        code_string = code_string.replace(\/REPLACE_WITH_DASH_DASH\/g,'--');\r\n\r\n        \/\/ Use \/x3C\/g instead of the less-than character to avoid errors \r\n        \/\/ in the XML parser.\r\n        \/\/ Use '\\x26#60;' instead of '<' so that the XML parser\r\n        \/\/ doesn't go ahead and substitute the less-than character. \r\n        code_string = code_string.replace(\/\\x3C\/g, '\\x26#60;');\r\n\r\n        copyright = 'Copyright 2012 The MathWorks, Inc.';\r\n\r\n        w = window.open();\r\n        d = w.document;\r\n        d.write('<pre>\\n');\r\n        d.write(code_string);\r\n\r\n        \/\/ Add copyright line at the bottom if specified.\r\n        if (copyright.length > 0) {\r\n            d.writeln('');\r\n            d.writeln('%%');\r\n            if (copyright.length > 0) {\r\n                d.writeln('% _' + copyright + '_');\r\n            }\r\n        }\r\n\r\n        d.write('<\/pre>\\n');\r\n\r\n        d.title = title + ' (MATLAB code)';\r\n        d.close();\r\n    }   \r\n     --> <\/script><p style=\"text-align: right; font-size: xx-small; font-weight:lighter;   font-style: italic; color: gray\"><br><a href=\"javascript:grabCode_61514b0ba6f54574b4d33b46c72e216b()\"><span style=\"font-size: x-small;        font-style: italic;\">Get \r\n      the MATLAB code <noscript>(requires JavaScript)<\/noscript><\/span><\/a><br><br>\r\n      Published with MATLAB&reg; R2012b<br><\/p><p class=\"footer\"><br>\r\n      Published with MATLAB&reg; R2012b<br><\/p><\/div><!--\r\n61514b0ba6f54574b4d33b46c72e216b ##### SOURCE BEGIN #####\r\n%% The MATLAB R2012b Desktop - Part 2: Customizing the R2012b MATLAB Desktop\r\n% Today, <mailto:david.garrison@mathworks.com David Garrison>, our guest\r\n% blogger, will continue his series on the R2012b Desktop.\r\n%\r\n% * Part 1: Introduction to the Toolstrip\r\n% * *Part 2: Customizing the R2012b MATLAB Desktop*\r\n% * Part 3: MATLAB Apps\r\n% \r\n% Here is Part 2 of the series. \r\n% \r\n%% What have we learned so far?\r\n%\r\n% In <https:\/\/blogs.mathworks.com\/loren\/2012\/08\/31\/the-matlab-r2012b-desktop-part-1-introduction-to-the-toolstrip Part 1>\r\n% of this series, I provided an introduction to the new Toolstrip in MATLAB R2012b.\r\n% I described the basic organization of the Toolstrip, the concepts of global and\r\n% contextual tabs, and other ways that the Toolstrip adjusts to your current working\r\n% context.  Today, we'll talk about new ways to customize the R2012b\r\n% Desktop.\r\n%\r\n%% Customizing the R2012b Desktop\r\n%\r\n% MATLAB has historically provided a number of ways to manage the configuration\r\n% of your Desktop.  You can move windows around, resize them, even undock windows\r\n% from the main Desktop.  You can still do all of those things in R2012b\r\n% and they pretty much work the same way.  The only change in R2012b is\r\n% that the window controls (maximize, minimize, undock, etc.) have been moved\r\n% from the window's title bar to a drop down menu in the upper right hand\r\n% corner of each window.  The figure below shows the difference between R2012a\r\n% and R2012b.\r\n% \r\n% <<R2012bDesktop2_WindowControls.png>>\r\n%\r\n% In Part 1, we described how to minimize and restore the\r\n% Toolstrip.  Minimizing the Toolstrip can be very useful when you need to\r\n% maximize vertical space.  But minimizing the Toolstrip is only the tip of\r\n% the iceberg.  There are several new ways in R2012b to customize your\r\n% Desktop which we'll cover in the following sections.\r\n%\r\n%% The Current Folder Toolbar\r\n%\r\n% If you look carefully at the picture above of the Current Folder in R2012b,\r\n% you'll notice something else that's different.  In R2012b, the toolbar in the\r\n% Current Folder is not there.  Don't worry, it hasn't disappeared, it's just in\r\n% a different place.  In R2012b, it's default location is below the Toolstrip.\r\n% We moved it because in previous versions it could only be as wide as the Current\r\n% Folder. By putting it under the Toolstrip, it's now as wide as your Desktop.\r\n% This is very useful if you want to add additional buttons to your Current Folder\r\n% Toolbar or if your current path happens to be long.  Here's what it looks like in\r\n% R2012b with some extra buttons that I use for easy access to MATLAB reports.\r\n% \r\n% <<R2012bDesktop2_CFToolbar.png>>\r\n%\r\n% You can put the toolbar back inside the Current Folder if you want.  However,\r\n% I like the new position much better because it provides so much more room.  To\r\n% add extra buttons to the Current Folder Toolbar, right-click on it and then\r\n% select \"Customize...\".  \r\n%\r\n%% The Quick Access Toolbar\r\n%\r\n% By now, you've probably noticed the light blue toolbar in the top right\r\n% hand corner of the R2012b Desktop.  That's called the Quick Access\r\n% Toolbar.  It's there to provide single click access to the Toolstrip\r\n% functionality you use most often.\r\n% \r\n% <<R2012bDesktop2_QAT1.png>>\r\n%\r\n% When you open MATLAB R2012b for the first time you'll notice that the\r\n% Quick Access Toolbar is pre-populated with controls that are\r\n% used throughout the Desktop including cut\/copy\/paste and\r\n% undo\/redo. These are useful things, of course, but there's more.\r\n% Any control from the Toolstrip tabs can be placed in the Quick\r\n% Access Toolbar so Toolstrip functionality is available to you anytime. \r\n% \r\n% Let's imagine you're working on a project where you have to analyze a\r\n% lot of data from files.  To get your data into MATLAB, you will need to\r\n% have easy access to the Import Tool.  From the Home tab, you would simply\r\n% right click on \"Import Tool\" and select \"Add to Quick Access Toolbar\".\r\n%\r\n% <<R2012bDesktop2_AddQAT1.png>>\r\n%\r\n% Maybe you will also use box plots as part of your statistical analysis.\r\n% From the Plots tab, you would right click on \"boxplot\" and add it to the Quick\r\n% Access Toolbar.  Any plot in the pulldown gallery of plots can\r\n% be added in the same way.\r\n%\r\n% <<R2012bDesktop2_AddQAT2.png>>\r\n%\r\n% Finally, your project will require that you do some curve fitting.  For that,\r\n% you would go the Apps tab and right click on \"Curve Fitting\" and\r\n% add it to the Quick Access Toolbar.\r\n%\r\n% <<R2012bDesktop2_AddQAT3.png>>\r\n%\r\n% After adding these three controls, your Quick Access Toolbar would look like\r\n% this:\r\n%\r\n% <<R2012bDesktop2_QAT2.png>>\r\n%\r\n% You can also add controls from Contextual tabs like the Editor.  For example,\r\n% you may want to have debugging controls easily accessible if you are debugging\r\n% your code when the Editor is closed.  Any control from the Toolstrip,\r\n% even those in drop-down menus, can be added to the Quick Access Toolbar.\r\n% You can even add your own shortcuts to the Quick Access Toolbar.  More on\r\n% that in the next section.\r\n%\r\n% Removing icons is just as easy.  Just right click on any icon in the\r\n% Quick Access Toolbar and select \"Remove from Quick Access Toolbar\".  Let's\r\n% suppose you use keyboard shortcuts for cut, copy, paste, and other common\r\n% operations.  You can remove them as shown below.  You can always\r\n% put them back if you change your mind.\r\n%\r\n% <<R2012bDesktop2_QAT3.png>>\r\n%\r\n% If you want to do more extensive customization, right-click anywhere in the\r\n% Quick Access Toolbar and select \"Customize...\"  A dialog box will appear\r\n% that will allow you to add or remove items, rearrange the icons, or\r\n% restore the factory defaults.\r\n%\r\n% You may be wondering what happens if you want to add a lot of items\r\n% to the Quick Access Toolbar.  It looks like the Quick Access Toolbar has\r\n% limited space.  Happily, you can move the Quick Access Toolbar so\r\n% it appears below the Toolstrip.  By moving it below the Toolstrip, your\r\n% Quick Access Toolbar can be as wide as your Desktop.  If you do that it will\r\n% look something like this:\r\n%\r\n% <<R2012bDesktop2_QATbelowTS.png>>\r\n%\r\n% Note that the Quick Access Toolbar and the Current Folder Toolbar can be\r\n% together on a single line or on two separate lines like I've shown here.\r\n%\r\n% If you're like me, you may find that you don't always\r\n% remember what all those icons do.  If that's the case, right click on any\r\n% icon and select \"Show Label\".  Using labels allows you to easily find what\r\n% you need even if your Quick Access Toolbar has many items in it.\r\n%\r\n% <<R2012bDesktop2_QATwithLabels.png>>\r\n%\r\n% If you've put your most commonly used commands in the Quick Access Toolbar\r\n% and only occasionally go back to the Toolstrip, you can minimize the\r\n% Toolstrip to get a Desktop configuration that looks something like this.\r\n%\r\n% <<R2012bDesktop2_QATminimizedTS.png>>\r\n%\r\n%% Managing Shortcuts in R2012b\r\n%\r\n% So now let's talk about shortcuts.  Shortcuts are small bits of MATLAB\r\n% code that can be assigned to an icon in the MATLAB Desktop for\r\n% single-click access.  Shortcuts have been in MATLAB for a while.  You can\r\n% still create and use shortcuts in R2012b.  They work the same REPLACE_WITH_DASH_DASH they're just\r\n% managed a bit differently.\r\n% \r\n% There are several ways to create a shortcut REPLACE_WITH_DASH_DASH from the New menu on the\r\n% Home tab, from the Command History, and from the Quick Access Toolbar.\r\n% When you create a shortcut, you will see the Shortcut Editor dialog.\r\n%\r\n% <<R2012bDesktop2_ShortcutEditor.png>>\r\n%\r\n% The Shortcut Editor alows you to give your shortcut a name, add your\r\n% MATLAB code, and select an icon.  You can also specify if you want your\r\n% Shortcut to appear in the Quick Access Toolbar.  Once you create your\r\n% first shortcut, you'll notice that a new Shortcuts tab appears.  \r\n%\r\n% <<R2012bDesktop2_ShortcutsTab1.png>>\r\n%\r\n% Any shortcuts you had in your previous version of MATLAB will be\r\n% available when you use R2012b.  If you have a lot of\r\n% shortcuts, you can use \"Organize Shortcuts\" on the Shortcuts tab.  Clicking\r\n% on \"Organize Shortcuts\" will display the Shortcuts Organizer dialog where\r\n% you can create new categories and arrange your shortcuts.  The categories you\r\n% create will appear as sections on the Shortcuts tab.  Here is an example.\r\n%\r\n% <<R2012bDesktop2_ShortcutsTab2.png>>\r\n%\r\n% Put your shortcuts in the Quick Access Toolbar for single click access.\r\n% If you have a lot of shortcuts put the Quick Access bar below the\r\n% Toolstrip like we did in the example above.  You can also hide (or show)\r\n% the Shortcuts tab.  Go to the Environment section of the Home tab\r\n% and select Layout->Shortcuts Tab.\r\n%\r\n%% Have you customized your R2012b Desktop?\r\n% We've added a lot of new customization features in the R2012b MATLAB\r\n% Desktop.  Have you tried out the Quick Access Toolbar or the new\r\n% Shortcuts tab?  How do you like to organize your Desktop?\r\n% I'd love to hear your thoughts <https:\/\/blogs.mathworks.com\/loren\/?p=528#respond here>.\r\n%\r\n%% Next up REPLACE_WITH_DASH_DASH Part 3: MATLAB Apps\r\n% As you can see, there are several new ways to customize your Desktop in\r\n% R2012b.  Try out some of the things we talked about.  Next time we'll\r\n% talk about another big new feature in R2012b - MATLAB apps.\r\n\r\n##### SOURCE END ##### 61514b0ba6f54574b4d33b46c72e216b\r\n-->","protected":false},"excerpt":{"rendered":"<!--introduction--><p>Today, <a href=\"mailto:david.garrison@mathworks.com\">David Garrison<\/a>, our guest blogger, will continue his series on the R2012b Desktop.... <a class=\"read-more\" href=\"https:\/\/blogs.mathworks.com\/loren\/2012\/09\/19\/the-matlab-r2012b-desktop-part-2-customizing-the-r2012b-matlab-desktop\/\">read more >><\/a><\/p>","protected":false},"author":39,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[39,6,40],"tags":[],"_links":{"self":[{"href":"https:\/\/blogs.mathworks.com\/loren\/wp-json\/wp\/v2\/posts\/528"}],"collection":[{"href":"https:\/\/blogs.mathworks.com\/loren\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.mathworks.com\/loren\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/loren\/wp-json\/wp\/v2\/users\/39"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/loren\/wp-json\/wp\/v2\/comments?post=528"}],"version-history":[{"count":9,"href":"https:\/\/blogs.mathworks.com\/loren\/wp-json\/wp\/v2\/posts\/528\/revisions"}],"predecessor-version":[{"id":534,"href":"https:\/\/blogs.mathworks.com\/loren\/wp-json\/wp\/v2\/posts\/528\/revisions\/534"}],"wp:attachment":[{"href":"https:\/\/blogs.mathworks.com\/loren\/wp-json\/wp\/v2\/media?parent=528"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/loren\/wp-json\/wp\/v2\/categories?post=528"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/loren\/wp-json\/wp\/v2\/tags?post=528"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}