File Exchange

image thumbnail

MATLAB Schemer

version 1.4.0 (1.08 MB) by

Apply and save color schemes in MATLAB with ease.

4.95062
84 Ratings

635 Downloads

Updated

MATLAB Schemer makes it easy to change the color scheme (a.k.a. theme) of the MATLAB display and GUI.
You can use Schemer to import a predefined color scheme, transfer your color settings between installations, or create your own color scheme.
The MATLAB interface has customisable colours for displaying text and highlighting syntax, but no way to easily export these settings and share them with others users, or import them to other machines. In fact, the vast majority of users do not even know the colour settings can be customised at all. Furthermore, MATLAB ships with a light color scheme by default, so any user who wishes to use a dark theme must completely change all the colours. Designing an effective color scheme is not trivial, so it makes sense for users to simply import a pre-made color scheme instead of having to make one from scratch.
Schemer makes this easy. Color schemes can be imported by running `schemer_import` at the MATLAB command prompt, without needing any inputs. This will open a GUI to select the file to import the color scheme from.
Schemer comes with a collection of 11 color schemes to pick from:
- Cobalt
- Darkmate
- Dark Steel
- Matrix
- Monokai
- Oblivion
- Solarized Dark
- Solarized Light
- Tango
- Vibrant
- and the original, default MATLAB scheme, which can be restored as needed.
You can view samples of the color schemes here:
https://github.com/scottclowe/matlab-schemer/blob/master/schemes/README.md#matlab-schemes
If you find a bug in the code, please report it by creating an issue on GitHub:
https://github.com/scottclowe/matlab-schemer

If you want to share a color scheme/theme you have created, please issue a pull request to the daughter repository containing just the color schemes:
https://github.com/scottclowe/matlab-schemes

Comments and Ratings (88)

Carlos Franco

Luke Osborn

wei du

wei du (view profile)

Great!

Simply great. It was definitely missing in Matlab.

Muhamed Ali

Gabor Papotti

Amazing. Thank you!

Jenne H

Juan R. Terven

Juan R. Terven (view profile)

Awesome!

Ali Ramadhan

Nice!

Adil Sbai

Nice job!

Wonderful, thanks mate!

useruser

great tool, thank you!

Lijia Zhang

Terry Jhon

Good Job! Is there any way to change the grey color scheme of the matlab gui (borders, scrollbars, ribbon, etc).

Mendi Barel

good job

Was looking for that for so long!

grotman

Fantastic. Thanks a lot

Yiyi Yan

UNREAL

Frank ZOU

Thanks a lot!

Alfonso

Will

Will (view profile)

Fantastic, thank you!

Scott Lowe

Scott Lowe (view profile)

Hi Jake. Unfortunately at the moment it is not possible to change the colours of the borders, ribbon, etc, present in the GUI. It would indeed be nice if you could reskin the whole GUI, not just the innards of the content windows. The only suggestion I can make is if you would rather not see the Toolstrip ribbon at all you can minimise it and add some buttons to the Quick Access Toolbar to use them there instead.

Jake Shea

Is there any way to change the grey color scheme of the matlab gui (borders, scrollbars, ribbon, etc). Would love them dark as well.

Lipeng Jiu

Perfect!

Vlad Maximov

Tim Hobbie

Good work. Exactly what I was looking for.

Huy Do

Huy Do (view profile)

Awesome! Absolutely Awesome!

Nelson

Nelson (view profile)

oss

oss (view profile)

Anael

Anael (view profile)

Simply perfect!

ablenkmann

Awesome, made some tweaks to monokai theme to suit to my taste and it is looking great, thanks a bunch!

Geun Lee

I tried it and it's really great! Very very helpful, very easy to use. I liked the Cobalt theme the most. The community's eyes thank you!

Hooman

Hooman (view profile)

Rob

Rob (view profile)

Works like a charm, thanks a lot!

BobE

BobE (view profile)

Eman Johnson

Fabio Assis

Very very good! Thank you for this amazing work.

Jeremy

Jeremy (view profile)

Born2Die

Robert See

Brilliant, thank you Scott!

Mianzhi Wang

Daniel

Daniel (view profile)

Juan

Juan (view profile)

deniz unal

Pranav Jawale

wonderful. love the cobalt theme.

Scott Lowe

Scott Lowe (view profile)

Hi, Initial Conditions. You can disable current line highlighting in the MATLAB Preferences within the Editor/Debugger > Display panel. To use Schemer to reset boolean settings (such as whether to highlight the current line) in addition to the colour settings, you can run schemer_import('schemes/default.prf', true).

I've reverted back to default, but I have a strang issue: the line the cursor is on is now constantly highlighted, and I can't seem to get this unhighlighted (which is the default setting). Any ideas?

Robert Waters

Having a darker theme is soooo much better and this script made changing effortless.

Thanks

Berkin Bilgic

Easy to use. Now I have a good way to bring my preferred Matlab color scheme with me to new computers!

Shahab J

Arthur Dgn

Very easy to use, allowed me to share my color settings.

Rongjie

Alexander

saras

saras (view profile)

Jmpp

Jmpp (view profile)

Elmar Tarajan

Elmar Tarajan (view profile)

Great! Thank you! :)

Updates

1.4.0

Updates to VRML/X3DV
Exporting VRML settings with new VRMLX3DV preference name introduced in R2016a, to old VRML name.
Defaults for VRML now come from XML values, so syntax will automatically match for X3D (which is in XML format) and X3DV.

1.3.6

Add Monokai theme. Minor changes to backup colour inheritance.

1.3.5

Update Matrix, Dark Steel, and Solarized Light/Dark schemes.

1.3.4

Update Tango and Matrix schemes

1.3.3

Add links to color scheme screenshots.

1.3.2

Update schemes documentation and sources list

1.3.1

Updated logo to version 2.

1.3.0

Fixed a bug (issue #9) reported by @LoGGoL.
Bug made it impossible to export a color scheme without using the GUI, due to a mistake in the input handling.

MATLAB Release
MATLAB 7.12 (R2011a)
Acknowledgements

Inspired by: setupEmacsClassicColors, benhager/solarized-matlab

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video