Development Environment | ![]() ![]() |
Loading a Saved Workspace
To load a workspace that you previously saved:
You can also load a saved workspace using the Import Wizard. Select Import Data from the File menu and then select a file from the Import dialog box. The Import Wizard opens. Use the Import Wizard to open the saved workspace. For instructions, see Using the Import Wizard with Binary Data Files.
Function Alternative. Use load
to open a saved workspace. For example,
load('june10')
loads all workspace variables from the file june10.mat
.
Note
If the saved MAT-file june10 contains the variables A , B , and C , then loading june10 places the variables A , B , and C back into the workspace. If the variables already exist in the workspace, they are overwritten with the variables from june10 . For more information, see the reference page for load . MATLAB provides other functions for loading information - see Chapter 6, Importing and Exporting Data.
|
![]() | Saving the Current Workspace | Clearing Workspace Variables | ![]() |