scottclowe / matlab-schemer

Apply and save color schemes in MATLAB with ease.
BSD 2-Clause "Simplified" License
1.19k stars 273 forks source link

Export colours which are only present in some MATLAB versions #6

Closed scottclowe closed 9 years ago

scottclowe commented 9 years ago

Mathworks adds support for new languages, etc every so often. We need a way to check whether the colours exist to be exported in the version currently being run.

This could be done by checking if the version number (or better yet, release date) is higher than a threshold. Or for collections of colours which were added at the same time, checking whether they are all black. In the later case, the solution is similar to #5.