File Exchange

image thumbnail

Mat Nanny v1.0 - RSS and html progress reports

version 1.1 (3.14 KB) by

Check computation progress from anywhere with internet

1 Download

Updated

View License

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!

Comments and Ratings (2)

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

Damon McC

Brilliant!

Updates

1.1

Removed GNU licence

MATLAB Release
MATLAB 7.4 (R2007a)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video