summaryrefslogtreecommitdiff
path: root/macros/full_reset.sce
blob: 9edaa54cb5443e24e59bfbf44614c8a357e4f37b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Clear files, variables, figures, screen.
mode(-1);
clc;

disp('Starting full reset...')
//disp('Press enter to continue...');
//halt;

clc;
clear
//mclose('all');

//
// LOL !!!!
// Well... I'm pretty sure this is totally useless.
//
// Assuming that max 50 figures are currently open
//for counter =1:50
//   close
//end
//YES BUT I NEED HOW TO PERFORM THE CLOSE ALL ACTION!!!
lines(0)