Skip to content

StackOverflowMATLABchat/matlab-theme-changer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

License Issues

MATLAB Theme Changer

This is a proof-of-concept MATLAB color scheme changer that works when MATLAB is open.

Usage

There are currently several options to use this code:

Option 1 (basic CLI)

Put applyPrfFile.m in your path/cd and supply it with a path to a standard .prf file.

Option 2 (class-based)

Add ColorSetting.m and MatlabTheme.m to your MATLAB path, or put them in your active directory then run MatlabTheme.applyTheme(). Currently new themes should be subclasses of MatlabTheme with different cs properties.

Option 3 (GUI)

For a GUI experience, run matlabThemeChooser.m. Note that this method requires the GUI Layout Toolbox.

Notes:

  • The enumeration class, unfortunately, cannot be used as-is, and it is just provided for reference.
  • prefname/prefvalue pairs as appear in colorSettingsEnum.m (the 3rd file), and correspond to the color setting found in the Preferences > MATLAB > Colors and Preferences > MATLAB > Colors > Programming Tools menus.
  • See also Scott Lowe's MATLAB Schemer.
  • Changes are documented in CHANGES.md.

3rd party code:

  • This repository contains a theme based on Darcula by JetBrains / Konstantin Bulenkov.

About

A color scheme changer for MATLAB.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages