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

36 ビュー (過去 30 日間)
Alan
Alan 2020 年 6 月 16 日
コメント済み: Ahmet Sacan 2024 年 12 月 14 日 23:26
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 件のコメント
Ahmet Sacan
Ahmet Sacan 2024 年 12 月 14 日 23:26
See similar question and my suggestion at: https://www.mathworks.com/matlabcentral/answers/475826-clear-all-output-code#comment_3319235

サインインしてコメントする。

回答 (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 Center および File ExchangeEnvironment and Settings についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by