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

7 Ansichten (letzte 30 Tage)
Alan
Alan am 16 Jun. 2020
Kommentiert: Ahmet Sacan am 14 Dez. 2024
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 Kommentar
Ahmet Sacan
Ahmet Sacan am 14 Dez. 2024
See similar question and my suggestion at: https://www.mathworks.com/matlabcentral/answers/475826-clear-all-output-code#comment_3319235

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Harsha Priya Daggubati
Harsha Priya Daggubati am 19 Jun. 2020
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.

Kategorien

Mehr zu Live Scripts and Functions finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by