{"id":71,"date":"2004-02-11T13:06:28","date_gmt":"2004-02-11T18:06:28","guid":{"rendered":"https:\/\/blogs.mathworks.com\/pick\/?p=71"},"modified":"2016-05-10T08:48:51","modified_gmt":"2016-05-10T12:48:51","slug":"easily-copy-and-paste-large-matrices-from-your-command-window","status":"publish","type":"post","link":"https:\/\/blogs.mathworks.com\/pick\/2004\/02\/11\/easily-copy-and-paste-large-matrices-from-your-command-window\/","title":{"rendered":"Easily copy and paste large matrices from your command window"},"content":{"rendered":"<a title=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/loadFile.do?objectId=971&amp;objectType=file (link no longer works)\">PRINTMATRIX<\/a> displays a matrix in the command window so that it can be easily selected copied and pasted into Excel. Matrices with a large number of columns are not easily selected as text in the command window because they get wrapped. If you want to select the matrix as text and put it into Excel this will work well.\r\n\r\nIf you want to just save a matrix into an Excel sheet see <a title=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/loadFile.do?objectId=2855&amp;objectType=file (link no longer works)\">XLSWRITE<\/a> by my esteemed co-author Scott","protected":false},"excerpt":{"rendered":"<p>PRINTMATRIX displays a matrix in the command window so that it can be easily selected copied and pasted into Excel. Matrices with a large number of columns are not easily selected as text in the... <a class=\"read-more\" href=\"https:\/\/blogs.mathworks.com\/pick\/2004\/02\/11\/easily-copy-and-paste-large-matrices-from-your-command-window\/\">read more >><\/a><\/p>","protected":false},"author":68,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/posts\/71"}],"collection":[{"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/users\/68"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/comments?post=71"}],"version-history":[{"count":1,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/posts\/71\/revisions"}],"predecessor-version":[{"id":6939,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/posts\/71\/revisions\/6939"}],"wp:attachment":[{"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/media?parent=71"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/categories?post=71"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/tags?post=71"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}