Indent a block of code
6 views (last 30 days)
Hi guys, is there a specific command (in keyboard) for matlab code identation?
for example lets assume that I wrote:
while i < length(rxBuffer) - 1
checksum = calcCRC(rxBuffer(i+1), checksum);
if i == intmax('uint8')
i = intmin('uint8');
i = i + 1;
how do I fix idenation and make the code more readable ..for example space between while loop and the inner statement(checksum) ..?