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.

 采纳的回答

Steven Lord
Steven Lord 2018-2-27

2 个投票

In the Editor/Debugger preferences deselect the "Tab key inserts spaces" option in the Tab group of preferences.

更多回答(0 个)

类别

在 帮助中心 和 File Exchange 中查找有关 Desktop 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by