How can I put a tab on code?

Hi there,
I am wondering how I can put a tab in codes. When I click tab key on keyboard, it just makes 4 spaces not a tab on codes.
Thank you for your help in advance.

 Accepted Answer

Steven Lord
Steven Lord on 27 Feb 2018
In the Editor/Debugger preferences deselect the "Tab key inserts spaces" option in the Tab group of preferences.

More Answers (0)

Categories

Tags

Asked:

on 27 Feb 2018

Answered:

on 27 Feb 2018

Community Treasure Hunt

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

Start Hunting!