{"id":263,"date":"2008-09-15T07:15:07","date_gmt":"2008-09-15T12:15:07","guid":{"rendered":"https:\/\/blogs.mathworks.com\/desktop\/2008\/09\/15\/what-if-matlab-had-only-4-buttons\/"},"modified":"2008-09-15T07:15:07","modified_gmt":"2008-09-15T12:15:07","slug":"what-if-matlab-had-only-4-buttons","status":"publish","type":"post","link":"https:\/\/blogs.mathworks.com\/community\/2008\/09\/15\/what-if-matlab-had-only-4-buttons\/","title":{"rendered":"What if MATLAB had only 4 buttons?"},"content":{"rendered":"<p>Yesterday I went to the Apple Store to drool over the new iPod Touch. Playing around with its applications I was reminded of a scene in the recent web production: <a title=\"(link no longer works)\">Dr. Horrible\u2019s Sing-a-long Blog<\/a>. In one scene Dr Horrible controls a van using 10-button app on his iPhone. <\/p>\n<p>I\u2019ve recreated that UI below, in a purposely-stylized sketch. Is this UI sufficient to drive a vehicle? My automatic \u201903 Ford Taurus has well over 60 buttons, dials, levers, etc. factory-installed within arm\u2019s length of the driver. That\u2019s a lot more than Dr. Horrible\u2019s controller. <\/p>\n<div align=\"center\"><img decoding=\"async\" border=\"0\" src=\"https:\/\/blogs.mathworks.com\/images\/desktop\/mike_matlab_4_buttons\/horrible.jpg\" alt=\"Dr. Horrible's Controls\"\/><\/div>\n<p>This got me thinking, what if Matlab had only a few buttons? What are the essential functions that one would need? <\/p>\n<p>I took a sample of my co-workers (based on who was at his\/her desk at the time) and gave them 30-seconds to come up with their version of the four-button MATLAB. I took down their first four or five thoughts. As you can see, there are some patterns. <\/p>\n<p>Will (usability): Will chose Data Import, Edit, Plot, Export Variable, with a runner-up of &#8220;call technical support (not an actual feature)&#8221;.<\/p>\n<div align=\"center\"><img decoding=\"async\" border=\"0\" src=\"https:\/\/blogs.mathworks.com\/images\/desktop\/mike_matlab_4_buttons\/will_4.jpg\" alt=\"Import, Edit, Plot, Export\"\/><\/div>\n<p><img decoding=\"async\" src=\"https:\/\/blogs.mathworks.com\/images\/desktop\/authors\/ken.png\" width=44 height=50> Ken: Ken&#8217;s choices were Run, Save, Help, and New M-File<\/p>\n<div align=\"center\"><img decoding=\"async\" border=\"0\" src=\"https:\/\/blogs.mathworks.com\/images\/desktop\/mike_matlab_4_buttons\/ken_4.jpg\" alt=\"Run, Save, Help, New\"\/><\/div>\n<p>Linda (documentation): The Current Directory, Preferences, Command History (not real icon), M-Lint, with a runner-up of Help.<\/p>\n<div align=\"center\"><img decoding=\"async\" border=\"0\" src=\"https:\/\/blogs.mathworks.com\/images\/desktop\/mike_matlab_4_buttons\/linda_4.jpg\" alt=\"directory, preferences, history, mlint\"\/><\/div>\n<p><img decoding=\"async\" src=\"https:\/\/blogs.mathworks.com\/images\/desktop\/authors\/dan.png\" width=44 height=44> Dan: Help, Halt Execution (not real icon), New M-File, Open File<\/p>\n<div align=\"center\"><img decoding=\"async\" border=\"0\" src=\"https:\/\/blogs.mathworks.com\/images\/desktop\/mike_matlab_4_buttons\/dan_4.jpg\" alt=\"help, break, new, open\"\/><\/div>\n<p>Zain: Help, Editor, Plot, Path tool (not real icon)<\/p>\n<div align=\"center\"><img decoding=\"async\" border=\"0\" src=\"https:\/\/blogs.mathworks.com\/images\/desktop\/mike_matlab_4_buttons\/zain_4.jpg\" alt=\"help, edit, plot, path\"\/><\/div>\n<p>Adam &#038; Ammar (technical support): Save, New M-File, Help, Open, runner-up: Command History<\/p>\n<div align=\"center\"><img decoding=\"async\" border=\"0\" src=\"https:\/\/blogs.mathworks.com\/images\/desktop\/mike_matlab_4_buttons\/adam_4.jpg\" alt=\"save, new, help, open\"\/><\/div>\n<p><a href=\"https:\/\/blogs.mathworks.com\/pick\/\">Jiro<\/a> (application engineering): Start, Up One Directory, Plot, Run M-File<\/p>\n<div align=\"center\"><img decoding=\"async\" border=\"0\" src=\"https:\/\/blogs.mathworks.com\/images\/desktop\/mike_matlab_4_buttons\/jiro_4.jpg\" alt=\"start, up, plot, run\"\/><\/div>\n<p>I also had to ask <a href=\"https:\/\/blogs.mathworks.com\/seth\/\">Seth<\/a>, to make sure the Simulink side of things is represented.<br \/> Surprise, suprise, Seth chose: Simulink, the Editor, Help, and Exit MATLAB (not real icon).<\/p>\n<div align=\"center\"><img decoding=\"async\" border=\"0\" src=\"https:\/\/blogs.mathworks.com\/images\/desktop\/mike_matlab_4_buttons\/seth_4.jpg\" alt=\"simulink, editor, help, exit\"\/><\/div>\n<p> I think he went with &#8220;Exit&#8221; because I caught him trying to wrap up and go home for the weekend. I also let him have <a href=\"https:\/\/blogs.mathworks.com\/community\/2007\/03\/29\/shortcuts-for-commonly-used-code\/\">Shortcuts<\/a>, which violates the spirit of this exercise, but I think it demonstrates one good point: MATLAB is too complex for us to please everybody with just one subset of tools, and that is why we try to make it is customizable as possible. <\/p>\n<p>Finally, <img decoding=\"async\" src=\"https:\/\/blogs.mathworks.com\/images\/desktop\/authors\/mike.png\" width=35 height=50> Mike: At first I came up with M-Lint, Editor, Run, and Import. I also wanted Help and the Web Browser.  I also cheated and added a Command-Line. <\/p>\n<div align=\"center\"><img decoding=\"async\" border=\"0\" src=\"https:\/\/blogs.mathworks.com\/images\/desktop\/mike_matlab_4_buttons\/mike_4cw.jpg\" alt=\"M-Lint, Editor, Run, and Import with Command Line\"\/><\/div>\n<p>If your MATLAB had only four buttons, what would you choose?<\/p>\n<p>PS: And no, don\u2019t expect any sing-a-longs on the Desktop blog, but you may be able to get <a href=\"https:\/\/blogs.mathworks.com\/pick\/\">Doug<\/a> to sing for beer. :)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Yesterday I went to the Apple Store to drool over the new iPod Touch. Playing around with its applications I was reminded of a scene in the recent web production: Dr. Horrible\u2019s Sing-a-long Blog. In&#8230; <a class=\"read-more\" href=\"https:\/\/blogs.mathworks.com\/community\/2008\/09\/15\/what-if-matlab-had-only-4-buttons\/\">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":[8],"tags":[],"_links":{"self":[{"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/posts\/263"}],"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=263"}],"version-history":[{"count":0,"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/posts\/263\/revisions"}],"wp:attachment":[{"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/media?parent=263"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/categories?post=263"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/tags?post=263"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}