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

27 次查看(过去 30 天)
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
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 中查找有关 Environment and Settings 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by