Align equal sign

Automatically align equal sign in variables assignment
664 Downloads
Updated 2 Oct 2014

View License

This function allows you to align equal signs in the matlab editor.
Select some text with variables assignments from the editor and run the function.

You may find easier to add this function as a shortcut to your matlab toolbar.

This function is not intended to work on your whole code, but only on snippets of variables assignments.

This code has been inspired by Replace in selection: http://www.mathworks.co.uk/matlabcentral/fileexchange/38264-find-and-replace-in-selection
If you find any bug, please report it here.

Cite As

Alessandro Masullo (2024). Align equal sign (https://www.mathworks.com/matlabcentral/fileexchange/47918-align-equal-sign), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2013a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Environment and Settings in Help Center and MATLAB Answers
Acknowledgements

Inspired: Align Matrix

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.5.0.0

Update description

1.4.0.0

Update description.

1.3.0.0

Description update.

1.2.0.0

Description and title update.

1.1.0.0

Description and title update.

1.0.0.0