help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

clear all variables except specific ones


From: dariodematties
Subject: clear all variables except specific ones
Date: Sat, 12 Aug 2017 06:30:29 -0700 (PDT)

Hello People,

How can I clear all variables except a specific subset from them?

There is a function called clearvars in matlab but it is not implemented in
my version of Octave.

octave:24> ver
----------------------------------------------------------------------
GNU Octave Version: 4.2.0
GNU Octave License: GNU General Public License
Operating System: Linux 4.4.0-89-generic #112~14.04.1-Ubuntu SMP Tue Aug 1
22:08:32 UTC 2017 x86_64
----------------------------------------------------------------------
Package Name  | Version | Installation directory
--------------+---------+-----------------------
     control  |   3.0.0 | /home/dario/octave/control-3.0.0
          io  |   2.4.5 | /home/dario/octave/io-2.4.5
       ltfat  |   2.1.2 | /home/dario/octave/ltfat-2.1.2
    parallel  |   3.1.1 | /home/dario/octave/parallel-3.1.1
      signal  |   1.3.2 | /home/dario/octave/signal-1.3.2
  statistics  |   1.3.0 | /home/dario/octave/statistics-1.3.0
      struct  |  1.0.14 | /home/dario/octave/struct-1.0.14
octave:25>

octave:25> help clearvars
error: help: the 'clearvars' function is not yet implemented in Octave

Thanks



--
View this message in context: 
http://octave.1599824.n4.nabble.com/clear-all-variables-except-specific-ones-tp4684432.html
Sent from the Octave - General mailing list archive at Nabble.com.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]