davidvarga / MBeautifier

MBeautifier is a MATLAB source code formatter, beautifier. It can be used directly in the MATLAB Editor and it is configurable.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Matrix alignment

philipplk opened this issue · comments

Dear all,
I want my matlab code to align corresponding columns, e.g.

tang = [eye(n),   -h * IM,      zeros(n, m); ...
        zeros(n), eye(n),       h * G_n'; ...
        G_n1,     zeros(n, m)', zeros(m)];

Is there an easy way to introduce this functionality to MBeautifier?

Thanks in advance
Philipp

WORKAROUND: Disable formatting around the statement using MBD:Format:Off and re-enable with MDB:Format:On