{"id":1615,"date":"2015-05-06T06:41:05","date_gmt":"2015-05-06T11:41:05","guid":{"rendered":"https:\/\/blogs.mathworks.com\/videos\/?p=1615"},"modified":"2019-08-14T15:12:27","modified_gmt":"2019-08-14T20:12:27","slug":"alt-up-down-keyboard-shortcut-in-matlab-editor","status":"publish","type":"post","link":"https:\/\/blogs.mathworks.com\/videos\/2015\/05\/06\/alt-up-down-keyboard-shortcut-in-matlab-editor\/","title":{"rendered":"Alt Up Down Keyboard Shortcut in MATLAB Editor"},"content":{"rendered":"<p>When editing code in the MATLAB editor, I often find that I&#8217;m interested in the use of one variable throughout the code. The keyboard shortcut <strong>Alt<\/strong> plus the <strong>Up<\/strong> or <strong>Down<\/strong> arrow keys lets me search through all instances of a variable, so I can navigate quickly through all related points in the script or function.<\/p>\n<p><div class=\"row\"><div class=\"col-xs-12 containing-block\"><div class=\"bc-outer-container add_margin_20\"><videoplayer><div class=\"video-js-container\"><video data-video-id=\"3956840528001\" data-video-category=\"blog\" data-autostart=\"false\" data-account=\"62009828001\" data-omniture-account=\"mathwgbl\" data-player=\"rJ9XCz2Sx\" data-embed=\"default\" id=\"mathworks-brightcove-player\" class=\"video-js\" controls><\/video><script src=\"\/\/players.brightcove.net\/62009828001\/rJ9XCz2Sx_default\/index.min.js\"><\/script><script>if (typeof(playerLoaded) === 'undefined') {var playerLoaded = false;}(function isVideojsDefined() {if (typeof(videojs) !== 'undefined') {videojs(\"mathworks-brightcove-player\").on('loadedmetadata', function() {playerLoaded = true;});} else {setTimeout(isVideojsDefined, 10);}})();<\/script><\/div><\/videoplayer><\/div><\/div><\/div><\/p>\n<p>For more information, see the documentation on automatic variable and function highlighting.<\/p>\n<ul>\n<li><a href=\"http:\/\/se.mathworks.com\/help\/matlab\/matlab_prog\/check-variable-scope-in-editor.html\">Automatic Function and Variable Highlighting<\/a>\u00a0(Documentation)<\/li>\n<li><a href=\"https:\/\/www.mathworks.com\/help\/matlab\/matlab_prog\/find-and-replace-text-in-files.html\">Renaming Variables<\/a>\u00a0(Documentation)<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<div class=\"thumbnail thumbnail_asset asset_overlay video\"><a href=\"https:\/\/blogs.mathworks.com\/videos\/2015\/05\/06\/alt-up-down-keyboard-shortcut-in-matlab-editor\/?dir=autoplay\"><img decoding=\"async\" src=\"https:\/\/cf-images.us-east-1.prod.boltdns.net\/v1\/static\/62009828001\/5393b626-9d69-4288-bbbc-606f36119b59\/7dbef4e1-296c-446f-94bc-78174c2a429a\/640x360\/match\/image.jpg\" onError=\"this.style.display ='none';\"\/><\/p>\n<div class=\"overlay_container\">\n      <span class=\"icon-video icon_color_null\"><time class=\"video_length\">2:39<\/time><\/span>\n      <\/div>\n<p>      <\/a><\/div>\n<p>When editing code in the MATLAB editor, I often find that I&#8217;m interested in the use of one variable throughout the code. The keyboard shortcut Alt plus the Up or Down arrow keys lets me search&#8230; <a class=\"read-more\" href=\"https:\/\/blogs.mathworks.com\/videos\/2015\/05\/06\/alt-up-down-keyboard-shortcut-in-matlab-editor\/\">read more >><\/a><\/p>\n","protected":false},"author":133,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[4],"tags":[],"_links":{"self":[{"href":"https:\/\/blogs.mathworks.com\/videos\/wp-json\/wp\/v2\/posts\/1615"}],"collection":[{"href":"https:\/\/blogs.mathworks.com\/videos\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.mathworks.com\/videos\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/videos\/wp-json\/wp\/v2\/users\/133"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/videos\/wp-json\/wp\/v2\/comments?post=1615"}],"version-history":[{"count":9,"href":"https:\/\/blogs.mathworks.com\/videos\/wp-json\/wp\/v2\/posts\/1615\/revisions"}],"predecessor-version":[{"id":4348,"href":"https:\/\/blogs.mathworks.com\/videos\/wp-json\/wp\/v2\/posts\/1615\/revisions\/4348"}],"wp:attachment":[{"href":"https:\/\/blogs.mathworks.com\/videos\/wp-json\/wp\/v2\/media?parent=1615"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/videos\/wp-json\/wp\/v2\/categories?post=1615"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/videos\/wp-json\/wp\/v2\/tags?post=1615"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}