Skip to content

use datetime

Compare
Choose a tag to compare
@scivision scivision released this 10 Aug 22:24
a6ee3a1

Matlab R2014b added datetime, which like Python datetime standardizes and makes simple many time manipulation tasks, avoiding proprietary functions with more variables to juggle.
This breaks compatibility with current releases of GNU Octave. However, there are so many bugs and missing features even in the latest GNU Octave that this is not a practical loss. We increase reliability and greatly simplify code by using datetime.

However, this requires existing user code to be upgraded, hence the major release version.

Parallel plotting

plotall('~/sim/my_sim', 'png', [],[],1)

where the 1 or true means plot in parallel. Because large sims could use too much RAM this way, the default is to plot serially. However if you have a big RAM computer, the parallel option can speed plotting by many times (x number of CPUs).