Matlab CSS (MSS)

Matlab CSS tries to bring the power of W3C's Cascading Stylesheets to Matlab GUIs.
Updated 10 Jan 2007

View License

With MSS, you have easy control over the appearance of all your GUI's through a simple CSS file.

What can be styled with MSS?

The primary target for MSS are GUIs designed with GUIDE. But in fact, you could use it for plain figures or even any type of handle-enabled object.

What styles can be applied?

Any field of a handle-object can be set with MSS. Everywhere you would normally use set(handle,'myproperty',myvalue), you could use the MSS equivalent handle {myproperty: myvalue}.

Getting started

Download the project files and put them somewhere were matlab can find them: add the path with addpath('fill in the dir') and optionally save the path with savepath. Run classpath. To test things out, navigate to the 'sample' subdirectory and try styling the sample GUI with tylefig('sample.fig','default.css') or by running the m-file run.

more info:

Cite As

Joris Gillis (2024). Matlab CSS (MSS) (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2006a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on File Operations in Help Center and MATLAB Answers

Inspired: SimCSS

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes

getting started instructions missing