Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 31.031.651 Times

Text message / E-mail Matlab! 1.0

  Date Added: April 23, 2013  |  Visits: 223

Text message / E-mail Matlab!

Report Broken Link
Printer Friendly Version

Product Homepage
Download (20 downloads)

Have you ever had a need to invert a matrix while out for dinner? Have you ever had the need to solve a second-order differential equation while stuck in traffic but didn't have access to Matlab? Well, now you can!This is a VBA module file (*.bas) that allows you to evaluate a string in Matlab by calling the Matlab interface. In order to get it fully functional, you have to integrate it with Microsoft Outlook by using the following steps:Step 1) Make a Gmail account of your choice.Step 2) Add the Gmail account to Microsoft Outlook via Gmail's IMAP interface.Step 3) Open the Visual Basic Editor. (Alt-F11)Step 4) Add the Matlab Server Automation... Reference. (Tools > References)Step 5) Double click the ThisOutlookSession module in the Project window.Step 6) In the left pull-down menu for the module window, select Application. In the right pull-down menu, select NewMailEx.Step 7) You have to use a function that (safely) bypasses some of VBA's security dialogs. Use the following code for NewMailEx:Private Sub Application_NewMailEx(ByVal EntryIDCollection As String) Dim iMsg, iConf, Flds Dim varEntryIDs Dim objItem Dim i As Integer Dim matlabStr As String Dim strID As String Dim olNS As Outlook.NameSpace Dim olMail As Outlook.MailItem Set iMsg = CreateObject("CDO.Message") Set iConf = CreateObject("CDO.Configuration") Set Flds = iConf.Fields schema = "" Flds.Item(schema & "sendusing") = 2 Flds.Item(schema & "smtpserver") = "" Flds.Item(schema & "smtpserverport") = 465 Flds.Item(schema & "smtpauthenticate") = 1 Flds.Item(schema & "sendusername") = "" Flds.Item(schema & "sendpassword") = "" Flds.Item(schema & "smtpusessl") = 1 Flds.Update varEntryIDs = Split(EntryIDCollection, ",") For i = 0 To UBound(varEntryIDs) strID = varEntryIDs(i) Set olNS = Application.GetNamespace("MAPI") Set olMail = olNS.GetItemFromID(strID) matlabStr = EvalStrInML(olMail.Body) matlabStr = Replace(matlabStr, Chr(10), "") With iMsg .To = olMail.SenderEmailAddress .From = "Your Name " .Subject = "Matlab Results" .HTMLBody = "" & ">> " & olMail.Body & "" & matlabStr .Sender = "Your Name" .Organization = "" .ReplyTo = "" Set .Configuration = iConf SendEmailGmail = .Send End With Set iMsg = Nothing Set iConf = Nothing Set Flds = Nothing Next Set olMail = Nothing Set olNS = NothingEnd SubStep 8) Right-click the Modules folder on the Project panel and click Import File. Select the *.bas file EvalStrInML.bas file.Step 9) Change your Send/Receive settings to check for e-mail every 1 minute.You should be good to go! Any e-mails that gets sent to will show up in your Outlook account. When they do, Outlook will parse the body of the e-mail and send it over to Matlab for evaluation. Outlook then takes the results and sends an e-mail back out through your Gmail account.Here's an example:From: Stefan Novak To: My Matlab Email Interface Subject: Let's try a test!Body: inv([5,8,2;4,10,2;9,3,7])The reply:From: My Matlab Email Interface To: Stefan Novak Subject: Matlab ResultsBody:>> inv([5,8,2;4,10,2;9,3,7])ans =0.7619 -0.5952 -0.0476-0.1190 0.2024 -0.0238-0.9286 0.6786 0.2143Note: This also works with text messages (as long as your phone is capable of text messaging e-mail address.)

Requirements: No special requirements
Platforms: Matlab
Keyword: Configuration Evalstrinmlbas Filestep Folder Import Modules Namequot Nothingend Olmailbody Organization Panel Quotgtgt Replyto Rightclick Select Sendemailgmail Sender Substep
Users rating: 0/10

License: Freeware Size: 10 KB
Server Management  -  Import modules from a remote server 1.0
Storing modules in a central location, which are used by remote, seperate clients has obvious benefits. This script describes a method by which modules can be fetched from a remote server and compiled into bytecode modules which are used by the...
Miscellaneous  -  Import package modules at runtime 1.3
This script allows you to load modules from packages without hard-coding their class names in code; instead, they might be specified in a configuration file, as command-line parameters, or within an interface.
Networking Tools  -  NetSaint Configuration Webmin Module 0.80.1-0.0.5
NetSaint Configuration Webmin Module provides a Webmin module for configuring NetSaint. The NetSaint Configuration Webmin Module gives an easy-to-use administration interface for the NetSaint CGI Monitor. It supports all configuration directives...
59.39 KB  
Modules  -  Slidebox 5.x-1.x-dev 1.0
The view can be selected and customized on the configuration screen.InstallationUnpack in your modules folder (usually /sites/all/modules/) and enable under Administer > Site Building > Modules. Requirements: - Drupal 5.x
Modules  -  DIBS Payment Gateway API 6.x-1.x-de
The module implements an API that integrated DIBS via PaymentWindow or FlexWindow.DIBS is one of the biggest payment gateways in Scandinavia.Installation:Unpack in your modules folder (usually '/sites/all/modules/')Enable under Administer > Site...
20.48 KB  
Modules  -  Apache Solr Autocomplete 7.x-1.2
Node access permissions are honored, which means that suggestions will come only from nodes that a user has access to.It will avoid suggesting words defined in the stopwords.txt file from the Solr configuration directory.InstallationUnpack in your...
10 KB  
Modules  -  Twitter Search Feeds 6.x-1.0-beta1
The nodes can then be commented or rated.Installation:Unpack in your modules folder (usually '/sites/all/modules/')Enable under Administer > Site Building > ModulesSearch terms can be added on the module's administration configuration page at...
10 KB  
Modules  -  Set Menu Parent Action 6.x-1.0-rc1
It was originally created to place nodes imported with the Node Import module into the menu structure.InstallationUnpack in your modules folder (usually '/sites/all/modules/')Enable under Administer > Site Building > Modules
10 KB  
Modules  -  Take Control 6.x-2.0
Custom permissions can also be specified for any directory or filed owned by Drupal, as well as deleting them.Installation:Unpack in your modules folder (usually '/sites/all/modules/')Enable under Administer > Site Building > Modules.
40.96 KB  
Shell & Desktop  -  Font Configuration Library 2.3.94
Fontconfig is a library for configuring and customizing font access. Font Configuration Library contains two essential modules, the configuration module which builds an internal configuration from XML files and the matching module which accepts...
1.1 MB  
Scripts  -  Free Ecommerce website creator 1.2
Free Ecommerce website creator is a free PHP shop creating script. This allows you to put a online shop on your own website. Create your own free ecommerce website for Your Business. Create an online shop using easyGUI online shop creator. The...
1.44 KB  
Scripts  -  MochiGames PHP Script ZDR 1.00
MochiGames PHP Script ZDR is web site, ready for use, for flash games. These flash games are downloaded automatically by "MochiGames PHP Script ZDR" from MochiGames media. The use of the games is free, you can use your own Mochi Publisher ID and...
368.54 KB  
Scripts  -  Php Chat 2.0
Add a free php site, single sign-on and multiple skins, 100% free 1. Server Modes: The chat server has paid mode and free mode. If the free chat mode, a free chat room will be assigned to your website with your domain as the room name. 2....
938.87 KB  
Scripts  -  Nibbleblog 3.0.1
Nibbleblog it's a powerful engine for creation and manipulation of BLOG's completely free. Very simple to install and configure (Only 1 step). The database used is based on XML files and this way it is not necessary to use MySQL or similar DBMS....
371.09 KB  
Scripts  -  PHP File Manager | CloudOsys 2.9b8
CloudOsys is a PHP file manager, a tool that allows your visitors upload files such as media content directly to your website. Your visitors will upload files directly to your website, where they can share and comment on them. Through cloud...
1.41 MB  
Communication  -  Contact Form Script 1
This PHP script is a fully functioning contact form which can be easily installed on your own website. It enables users to contact you directly by filling out the form. The PHP script is completely FREE to use, and none of the code is encoded...
19 KB  
Communication  -  Ethernet Source with SimEvents 1.1
When audio or video is transmitted over an Ethernet network, the data is usually transmitted in bursts of packets with long idle times in between bursts. SimEvents is a good tool for modeling those types of sources and studying the effects of...
2.8 MB  
Communication  -  Autocorrelation and Crosscorrelation function of gold sequence 1.0
This m-file finds and plots the autocorrelation and crosscorrelation function(ACF and CCF) of generated Gold codes of length 31.Crosscorrelations are three valued.
10 KB  
Communication  -  Zoom Spectrum 1.0
This function returns N point DFT samples of 2dw band of Fourier transform of a sequence. Typically, fft() returns N samples of Fourier transform ranging from 0 to 2pi. This function takes the N-point DFT samples and returns N-point samples...
10 KB  
Communication  -  BER of BPSK DS-SS System 1.0
This m-file finds the bit error rate performance of BPSK DS-SS system over (i) AWGN channel and (ii) Slow Rayleigh fading channel corrupted by AWGN. Compare the performance with simple BPSK system.In this simulation I have used two functions.So to...
10 KB