5.0

5.0 | 2 ratings Rate this file 0 Downloads (last 30 days) File Size: 3.14 KB File ID: #21341
image thumbnail

Mat Nanny v1.0 - RSS and html progress reports

by Nick Clark

 

04 Sep 2008 (Updated 18 Jun 2009)

Check computation progress from anywhere with internet

| Watch this File

File Information
Description

MatNanny is a simple function which publishes a data structure as html and an RSS feed when called. This allows for convenient remote checking on the progress of models or other computations which have been left running while away from the office. I recommend using free webspace on xthost.info as there is no sign up required and the no-fuss ftp update process works very fast. The username and password in the demo provided are real and are free for your use while evaluating this software. This may not work correctly if more than one person is trying this out simultaneously as xthost doesn't like simultaneous ftp connections from the same username, but it only takes 2 seconds to make your own account.

The function takes 2 input structures. The webStruct structure must contain all of the fields provided in the demo below. This structure is used to hold data about the hosting service which you are using. The second structure, dataStruct, can contain anything which you want to appear online for your own checking.

USAGE:

webStruct.process = 'Dinosaur_Marmot_Reconstruction_Model';
webStruct.description = 'Foo procees for demo only';
webStruct.timeZone = 'GMT';
webStruct.webAddy = 'http://one.xthost.info/matlabprocess/';
webStruct.hostAddy = 'one.xthost.info';
webStruct.uName = 'matlabprocess';
webStruct.pwd = 'rRHbTX';
 
dataStruct.percentComplete = 54;
dataStruct.bigData = 1:100;
dataStruct.genetic = 12.45346;
dataStruct.probabilityOfMarmot = rand;
dataStruct.ghosting = 'OK';
dataStruct.thing = 'RaRaRa';
 
MatNanny(webStruct,dataStruct);

The script above will recreate the webpage shown in the screenshot
Enjoy!

MATLAB release MATLAB 7.4 (R2007a)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (2)
10 Sep 2008 Damon McC

Brilliant!

25 Nov 2008 Steven Edmund

Well Done, Modified the code to upload a picture and include it in the *.html page. Only slight issue was using the try-catch command produced errors on a machine running matlab 2007

Please login to add a comment or rating.
Updates
18 Jun 2009

Removed GNU licence

Tag Activity for this File
Tag Applied By Date/Time
development environment Nick Clark 22 Oct 2008 10:17:47
rss Nick Clark 22 Oct 2008 10:17:47
html Nick Clark 22 Oct 2008 10:17:47
remote Nick Clark 22 Oct 2008 10:17:47
monitor Nick Clark 22 Oct 2008 10:17:47
internet Nick Clark 22 Oct 2008 10:17:47
publish Nick Clark 22 Oct 2008 10:17:47
publisher Nick Clark 22 Oct 2008 10:17:47

Contact us at files@mathworks.com