{"id":449,"date":"2011-03-21T17:12:48","date_gmt":"2011-03-21T17:12:48","guid":{"rendered":"https:\/\/blogs.mathworks.com\/desktop\/2011\/03\/21\/more-sharing-options\/"},"modified":"2016-05-26T13:52:51","modified_gmt":"2016-05-26T17:52:51","slug":"more-sharing-options","status":"publish","type":"post","link":"https:\/\/blogs.mathworks.com\/community\/2011\/03\/21\/more-sharing-options\/","title":{"rendered":"More Sharing Options"},"content":{"rendered":"<p><a href=\"https:\/\/blogs.mathworks.com\/community\/2011\/03\/14\/sharing-figures-with-friends\/\">Last week<\/a> I wrote  how to email figure snapshots from MATLAB and MATLAB Mobile. I had such a good response from last week, I want to continue that thought and talk about some more options for sharing from MATLAB.<\/p>\n<p>Before I get started, I&#8217;d like to mention that my co-worker Rich Quist had already packaged that <tt>sendmail<\/tt> trick with a submission on the <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/15222-shareit\">File Exchange<\/a>. If you&#8217;re interested in emailing your figures around, take a look at that function.<\/p>\n<p><strong>&#8220;Local Sharing&#8221;<\/strong><br \/>\nBesides e-mail, there are many other ways to distribute pictures. You may want to add a particularly pretty or informative plot to a gallery. In MATLAB Mobile, you can select &#8220;Save To Photos&#8221; to add a snapshot to your device&#8217;s Saved Photos album in the Photos app. On a Windows machine you can move a saved image file to your &#8220;My Pictures&#8221; (or a Library folder in Windows 7). On the Mac, you can move the file to your iPhoto directory.<\/p>\n<div align=\"center\"><img decoding=\"async\" src=\"https:\/\/blogs.mathworks.com\/images\/desktop\/michael_katz_email_figure\/save_to_photos.png\" alt=\"Save to Photos from MATLAB Mobile\"><\/div>\n<p><strong>SMS\/MMS<\/strong><br \/>\nMany iPhone apps let you share text and pictures via SMS\/MMS. When we were designing the action menu, we didn&#8217;t want to clutter the menu with an extra action without a strong use case. But, should you want to send a snapshot from your iPhone, you can first save it to the Photos app and then share it via SMS from there. However there is a pretty good use case for sending a text from the Desktop. It may be useful to send messages as part of a long-running script to notify you of its status, results, or errors. There is not a specific SMS function in MATLAB, but you can use <tt>sendmail<\/tt> to send an email to a phone number if your carrier allows. A quick Google search, turned up <a href=\"http:\/\/en.wikipedia.org\/wiki\/List_of_SMS_gateways\">this page<\/a> for the email addresses used by the major carriers.<\/p>\n<p><strong>Twitter<\/strong><br \/>\nFor those of you who think 140 characters is more than enough, you can send messages via Twitter from MATLAB too! I was tuned into this post describing a twitter function via the MATLAB&#8230; and more&#8230;blog. There&#8217;s also a similar function up on the <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/20290-update-twitter-status\">File Exchange<\/a>. <\/p>\n<p>I&#8217;m laying down a challenge to you Twittering MATLAB users. I&#8217;d like to see a function that uses the TwitPic API to upload a figure image along with a tweet from MATLAB.<\/p>\n<p>And while you&#8217;re on Twitter, be sure to follow <a href=\"http:\/\/twitter.com\/matlab\">@MATLAB<\/a> for all sorts of MATLAB news and info. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Last week I wrote  how to email figure snapshots from MATLAB and MATLAB Mobile. I had such a good response from last week, I want to continue that thought and talk about some more options for sharing&#8230; <a class=\"read-more\" href=\"https:\/\/blogs.mathworks.com\/community\/2011\/03\/21\/more-sharing-options\/\">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":[54,39],"tags":[106,113,107,110,112,105,111,108,109,114],"_links":{"self":[{"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/posts\/449"}],"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=449"}],"version-history":[{"count":2,"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/posts\/449\/revisions"}],"predecessor-version":[{"id":3742,"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/posts\/449\/revisions\/3742"}],"wp:attachment":[{"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/media?parent=449"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/categories?post=449"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/tags?post=449"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}