Be the first to rate this file! 23 downloads (last 30 days) File Size: 19.34 KB File ID: #17416

TxtMsg Create

by Robert M. Flight

 

05 Nov 2007 (Updated 17 Dec 2007)

Code covered by the BSD License  

GUI generates a function useful for sending text messages from Matlab

Download Now | Watch this File

File Information
Description

This GUI takes user information and creates a function that is capable of sending text messages to the provided phone number using the sendmail function in Matlab and a GMail email account. All major North American carriers are included (including Aliant, Telus & Rogers in Canada), however if you can find the texting address for your carrier you may include it directly in the phone number field.

The generated function is able to take a subject and message argument, allowing customization of sent messages.

The function, with GMail account information, password, and phone number is a binary p-file to keep the information hidden. The entered password is also kept hidden while using the GUI.

Each P file function generated is unique according to username, allowing for multiple phone numbers, as well as multiple users on the same machine, although this is not recommended.

Included files are the GUI itself, the mat file containing the text to be used for actually generating the M function, and an example M file that shows the text used to create the P-file function.

Tested using R2007a, Windows XP

Acknowledgements

The author wishes to acknowledge the following in the creation of this submission:
login, Send Text Message to Cell Phone

MATLAB release MATLAB 7.4 (R2007a)
Other requirements Tested using R2007a only on WindowsXP, SP2
Zip File Content  
Other Files example_txtmsg.m,
txtmsg.mat,
txtmsg_create.asv,
txtmsg_create.m
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (2)
06 Nov 2007 Robert Flight

If anyone can actually find a way to encrypt the password somehow (I couldnt figure out how to do this yet) so that it is not stored in plaintext in the Mat file, that would be really useful.

-Robert

17 Dec 2007 Robert Flight

I would recommend to all users to download this version as the required information is now stored in the function itself as a binary P-file instead of the mat files. The P file can then be put wherever you need to be on the Matlab path.

Please login to add a comment or rating.
Updates
17 Dec 2007

Changed the method of saving the resultant file, use binary p-file instead of M-file and mat files

Tag Activity for this File
Tag Applied By Date/Time
text message Robert M. Flight 22 Oct 2008 09:33:55
remote notification Robert M. Flight 22 Oct 2008 09:33:55
job completion Robert M. Flight 22 Oct 2008 09:33:55
wireless Robert M. Flight 22 Oct 2008 09:33:55
email Robert M. Flight 22 Oct 2008 09:33:55
gm Robert M. Flight 22 Oct 2008 09:33:55
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com