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 29.866.197 Times

ToSavedWorkspace 1.0

  Date Added: July 17, 2013  |  Visits: 224

ToSavedWorkspace

Report Broken Link
Printer Friendly Version


Product Homepage
Download (18 downloads)

TOSAVEDWORKSPACE Saves the workspace to a structureThis trivial function saves all of the workspace variables to a structure. The intent of this script is to record the workspace variables before performing an operation on them, so as to keep them available after the operation for comparison. This code also has a built in test scaffold so it is an example of how to build self-testing code. TOSAVEDWORKSPACE returns a structure who's fields are all of the variables in the workspace. TOSAVEDWORKSPACE VARIABLES returns a structure who's fields are VARIABLES. TOSAVEDWORKSPACE -CLEAR returns a structure who's fields are all the variables in the workspace and then clears the workspace, leaving only the structure. TOSAVEDWORKSPACE -xVARIABLE returns a structure who's fields are all the variables in the workspace except VARIABLE TOSAVEDWORKSPACE -xVARIABLE1 -xVARIABLE2 returns a structure who's fields are all the variables in the workspace except VARIABLE1 and VARIABLE2 S = TOSAVEDWORKSPACE(...) returns a structure who's fields are all of the variables in the workspace. S = TOSAVEDWORKSPACE('-TEST') runs a test script. Example: Compare the workspace before and after executing an operation clear all; % start with a clean workspace A = floor(10.*rand(1,100)); % generate some data TSW = ToSavedWorkspace; % save the workspace A = floor(A.*2); % perform an operation setdiff(A,TSW.A) % compare the workspace Example: Save the workspace and clear all variables clear all; % start with a clean workspace a = rand(10); % create some variables b = a.*2; c = ones(1,10); who % what's in the workspace? TSW=ToSavedWorkspace('-CLEAR'); % save the workspace & clear who % only TSW is left TSW % the previous workspace is in TSW Example: Save the variables a and b, but no others clear all; % start with a clean workspace a = rand(10); % create some variables b = a.*2; c = ones(1,10); TSW=ToSavedWorkspace('a','b'); % save a & b Example: Save all variables but b clear all; % start with a clean workspace a = rand(10); % create some variables b = a.*2; c = ones(1,10); TSW = ToSavedWorkspace('-xb'); % save all but b Example: Save the variables a and c, then clear the workspace clear all; % start with a clean workspace a = rand(10); % create some variables b = a.*2; c = ones(1,10); TSW = ToSavedWorkspace( ... % save a & c then clear 'a','c','-CLEAR'); Example: Save the variables a and c, then remove c clear all; % start with a clean workspace a = rand(10); % create some variables b = a.*2; c = ones(1,10); TSW = ToSavedWorkspace( ... % save a & c then clear 'a','c'); TSW % TSW has fields a and c TSW = rmfield(TSW,'c'); % eliminate field c TSW % TSW now only has field a Example: Compare two files clear all; % start with a clean workspace load('Test1'); % load a file t1=ToSavedWorkspace('-CLEAR'); % save & clear the workspace load('Test2'); % load another file t2 = ToSavedWorkspace('-xt1'); % save the workspace, excluding t1 keep t1 t2 % clear the workspace % Keep is by Xiaoning (David) Yang % and is available on the MATLAB % File Exchange IT'S NOT FANCY, BUT IT WORKS See also clear, who, keep, varargin, nargin, test, rmfield

Requirements: No special requirements
Platforms: Matlab
Keyword: Clean Clear Compare Create Floor Rand Floora Generate Ones110 Perform Previous Rand Remove Setdiffatswa Tosavedworkspace Tsw Dtosavedworkspace Tsw Dtosavedworkspace Clear What039s Workspace
Users rating: 0/10

License: Freeware Size: 10 KB
TOSAVEDWORKSPACE RELATED
Security Tools  -  Click&Clean 7.8.1.0
Click&Clean will help you to delete your browsing history, typed URLs, Flash cookies, all traces of your online activity to protect your privacy - Scan your PC for Malware - Delete your browsing history, - Remove download history, - Erase...
1.45 MB  
Security Tools  -  Click&Clean App 7.8.2.0
Click&Clean will help you to delete your browsing history, typed URLs, Flash cookies, all traces of your online activity to protect your privacy - Scan your PC for Malware - Delete your browsing history, - Remove download history, - Erase...
1.53 MB  
Security Tools  -  Free Clear Cookies 2.0.2.8
Free Clear Cookies provides a FREE solution to easily purge all cookies from Internet Explorer or Mozilla FireFox, or clear cookies of a specific domain or website at your wish. Each time you surf on the Internet, cookie files will be stored on...
1.06 MB  
Content Management  -  Articlepublisher for Scripts 1.0
Use this powerful PHP tool to create and manage content, generate search-engine-friendly URLs, and pinpoint which webpages net you the most readers d-deOCL and dollars. Automatic installation has you upand running in no time!Features:Advanced...
1.54 MB  
Code Management Tools  -  OPEN BEXI HTML Builder 1.6
OPEN BEXI HTML Builder is a WYSIWYG HTML editor which allows you to create Web pages and generate HTML code from your browser without any HTML knowledge. It lets you create, update, and remove HTML components. OPEN BEXI HTML Builder is suitable...
1.8 MB  
Business  -  Factory 0.6
As an open source project for project management, Factory lets you organize actors in teams, define projects, create version-based plans, generate forecast calendars and track statuses. Small and stand alone, it runs on every system with Java.
711.86 KB  
Programming  -  Open QUB 1.00
Open QUB is a tool where developers easily can create user interfaces and generate source code for the UIQ 2.1 platform (running Symbian OS). The tool is developed in Java. Version 1.00 of Open QUB is, however, only system tested for the Windows...
896.52 KB  
Entertainment  -  Creative Cards 1.0.0.0
Create these simple one-of-a-kind cards for the special people in your life. Use clear scrap booking embellishments to add quick detail to a card. Die-cut flowers from a transparency, then adhere small colourful circles to the end of each petal....
2 MB  
Programming  -  Reduce Exe 1.0
Reduce Exe is an easy to use tool for correcting Windows Portable Executable files.- Clear binary trash in headers of PE files - Erase section names - Remove relocations table - Examine the list of the export functions - Erase selected functions...
71 KB  
Games  -  Halloween Car Garage 1.0
First time in Play store, make your vehicle awesome and different from others. Customize and clean 15 or more different vehicles in Car Garage Fun! Clean : -Wash your vehicle -Fill air in wheels -Fill Fual and Oil -Remove...
37.4 MB  
NEW DOWNLOADS IN SCRIPTS, DEVELOPMENT TOOLS
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  
Development Tools  -  VMP Viewer 1.0
This is a very rudimentary tool to visualize the VMP files generated by BrainVoyager. Useful to share files with people who do not have BV.
10 KB  
Development Tools  -  7-Zip for Script 4.42
7-Zip is a file archiver with a high compression ratio.Features:- High compression ratio in new 7z format with LZMA compression- Supported formats:- Packing / unpacking: 7z, ZIP, GZIP, BZIP2 and TAR- Unpacking only: RAR, CAB, ISO, ARJ, LZH, CHM,...
624.64 KB  
Development Tools  -  PHP Docbook Displayer for Scripts 1.0b
PHP Docbook Displayer provides XSL and CSS stylesheets, and PHP scripts, to generate easily and dynamically websites from Docbook files.It aims at simplifying to the max the web publication process : simply drop the docbook file under the site root !
102.4 KB  
Development Tools  -  WP Translate 1.0
This simple language translation plugin allows your users to quickly translate your webpages, through a widget on your blog.You have the option to select the title of the Widget, which will be displayed above the language translation form. Users...
10 KB  
Development Tools  -  save2word 1.0
A simple function to copy figure from MATLAB into MS Word automatically. It is a modification of saveppt (a function in File exchange) that save figures to MS Powerpoint.
10 KB