Snippets

Lilian Besson (Naereen) Use FreeSMS.py from Octave or MATLAB

Created by Lilian Besson (Naereen) last modified
1
2
3
4
5
6
function freesms(msg)
    % freesms(msg) sends a message using FreeSMS.py
    % https://bitbucket.org/lbesson/bin/src/master/FreeSMS.py?fileviewer=file-view-default#FreeSMS.py-104
    % system(["python FreeSMS.py \"", msg, "\"" ])
    system(["python /setup/your/path/FreeSMS.py \"", msg, "\"" ])
end

Comments (1)

  1. Lilian Besson (Naereen)

    You need to download the FreeSMS.py script, configure it, and then download and edit this script, and set the path where you saved FreeSMS.py. Then, you can use it from Matlab (or GNU Octave), simply like this:

    % long computation ...
    % ...
    % at the end:
    freesms("Job is done in Matlab, yeepee!");