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

조회 수: 10 (최근 30일)
Mirlan Karimov
Mirlan Karimov 2020년 6월 5일
댓글: Mirlan Karimov 2020년 6월 5일
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.

채택된 답변

KSSV
KSSV 2020년 6월 5일
You can delete specific variables using clearvars. You have many other options along with that. Read it here.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Workspace Variables and MAT Files에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by