How do I clear the output from a list of .mlx files to reduce their size?

조회 수: 17 (최근 30일)
Alan
Alan 2020년 6월 16일
답변: Harsha Priya Daggubati 2020년 6월 19일
Live Editor files with their output figures etc. are much larger than those without.
If I have a list of .mlx files, and want to clear their output, I can open them one at a time, clear their output and save them.
Is there a better way to do that, maybe a script that can run on the list of files?

답변 (1개)

Harsha Priya Daggubati
Harsha Priya Daggubati 2020년 6월 19일
Hi,
As of now, we dont have any way to clear all the outputs from Live Editor programmatically, as we cannot get access to "Clear All Outputs" button in MATLAB Toolstrip.

카테고리

Help CenterFile Exchange에서 Live Scripts and Functions에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by