MBeautifier icon indicating copy to clipboard operation
MBeautifier copied to clipboard

Matrix alignment

Open plkinon opened this issue 3 years ago • 1 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

plkinon avatar Dec 07 '21 11:12 plkinon

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

RodneyRichardson avatar Feb 23 '24 16:02 RodneyRichardson