TxtMsg Create

GUI generates a function useful for sending text messages from Matlab

You are now following this Submission

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

Cite As

Robert M. Flight (2026). TxtMsg Create (https://uk.mathworks.com/matlabcentral/fileexchange/17416-txtmsg-create), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired by: login, Send Text Message to Cell Phone

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0

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