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

27 vues (au cours des 30 derniers jours)
Mirlan Karimov
Mirlan Karimov le 5 Juin 2020
Commenté : Mirlan Karimov le 5 Juin 2020
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.

Réponse acceptée

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

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by