Command to delete a matrix from workspace and save workspace?

2 visualizzazioni (ultimi 30 giorni)
Hi
I like to save my workspace in under different file name after a matrix is generated but like to delete the matrix generated earlier.
Wondering is there command to run to delete a matrix from the workspace, then after that a command to save the workspace.

Risposte (1)

Azzi Abdelmalek
Azzi Abdelmalek il 16 Gen 2015
you can use
clear yourmatrix

Categorie

Scopri di più su Workspace Variables and MAT Files in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by