No BSD License  

Highlights from
STAKK

5.0

5.0 | 3 ratings Rate this file 1 Download (last 30 days) File Size: 4.99 KB File ID: #7096

STAKK

by Fabio Wegmann

 

09 Mar 2005 (Updated 11 Mar 2005)

STAKK stores workspaces in base and compares workspaces of functions in debugging phase.

| Watch this File

File Information
Description

STAKK is a function that helps with the debugging of data and programs. During development of complex software, there are often several versions of functions used in the main program and direct comparison of the functions' workspace is not easily possible between different program versions, program runs or at different points in runtime. STAKK stores all or selected variables of the workspace that calls STAKK in a storage struct in the base workspace for later retrieval, analysis and/or comparison. It is possible to select a subset of all variables by providing one regular expression string similar to the WHOS command of MATLAB 7.0 or later. The storage structs are put into the base workspace for easy access after the program exits and are uniquely named so that no data is overwritten. STAKK also provides a simple comparison routine to compare two previously stored workspaces; a report highlighting the differences is printed onto the command window.

MATLAB release MATLAB 7.0.1 (R14SP1)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (5)
15 Mar 2005 L. Cavin

Very usefull. Would be even better with a recursive structure comparison!

21 Feb 2006 Albert von Strudeldorf

I agree with comment before. Need a recursive algorithm for structure analysis. You plan doing an update?

22 Feb 2006 Fabio Wegmann

Yes, this would indeed be useful... I'm looking into how to do that and will report here... Thanks to the two reviewers... FW

10 Nov 2006 Abdul Johnson

Very useful for debugging purposes. Tx!

21 Jan 2010 James Ross

This is very nice. I would like to see it re-posted with a license.

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
development environment Fabio Wegmann 22 Oct 2008 07:43:00
debugging Fabio Wegmann 22 Oct 2008 07:43:00
variable Fabio Wegmann 22 Oct 2008 07:43:00
storage Fabio Wegmann 22 Oct 2008 07:43:00
workspace Fabio Wegmann 22 Oct 2008 07:43:00
utilities Fabio Wegmann 22 Oct 2008 07:43:00

Contact us at files@mathworks.com