How to keep some data in the workspace when clear all?

13 visualizzazioni (ultimi 30 giorni)
I have a huge data which takes time to load, therefore, I do not want to remove it from the workspace everytime I run the code but I want to clear the workspace from the data produced by the code itself.

Risposta accettata

KSSV
KSSV il 5 Giu 2020
You can delete specific variables using clearvars. You have many other options along with that. Read it here.

Più risposte (0)

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