Multiple Concurrent Workspaces (Updated 2)

版本 1.0.0.0 (10.0 KB) 作者: Jeff Dunne
A function that simulates multiple workspaces without saving info to disk
2.6K 次下载
更新时间 2006/10/16

查看许可证

编者注: This file was a File Exchange Pick of the Week

File updated to include separate paths for each workspace.

************************

File updated to include workspace descrtipions and to track workspace working directories. Also fixed a typo in the code for the 'send variables' utility.

************************

ws.m simulates the existence of multiple independent workspaces without needing to save information to disk. Each workspace exists independently, so commands such as 'clear' affect only the current workspace (i.e. do not erase alternate workspaces).

The command allows the user to apply who, whos, and clear (including with the optional 'global' keyword) to other workspaces. Variables can also be copied between workspaces using import and send parameters. Sophisticated variable and workspace specification are supported using wildcards and colons.

The function can be used to maintain independence among tasks (e.g. you are doing one thing, then want to run some other things without losing your place or opening other sessions), or as a convenient way of moving workspace environments between functions.

The help in the function describes the various ways of using it, as well as the various parameters that can be provided.

Note: This is just a single stand-alone function. It does not overload or replace any other functions.

引用格式

Jeff Dunne (2024). Multiple Concurrent Workspaces (Updated 2) (https://www.mathworks.com/matlabcentral/fileexchange/12522-multiple-concurrent-workspaces-updated-2), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R14
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Workspace Variables and MAT-Files 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.0.0.0

Updated to include separate paths for each workspace