Can I make commands in the editor window run automatically when I press enter? Like in the command window?
Show older comments
Whenever I start a new script and enter in commands, such as assigning variables, the code does not execute unless I click 'run' at the top. Is there a way to make variable assignments execute every time I press enter instead of having to click 'run' each time? Like in the command window.
Accepted Answer
More Answers (1)
Matthew
on 10 Sep 2018
0 votes
I think you need to understand that the whole purpose of using the Editor Window is for writing programs. You can set a bunch of breakpoints and 'Debug' to see the effects of certain lines of codes on a program. This is perhaps what you meant to ask for.
Categories
Find more on Environment and Settings in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!