A green arrow in an m-file

96 ビュー (過去 30 日間)
alpedhuez
alpedhuez 2022 年 6 月 29 日
コメント済み: Jan 2022 年 6 月 30 日
I see this green arrow in an m-file.
What is this and how can I remove this arrow?

採用された回答

Adam Danz
Adam Danz 2022 年 6 月 29 日
You are in debug mode.
The green arrows hows the line at which MATLAB is currently paused.
how did I get here?
There are several ways to enter debug mode.
  • manually place a break point ( gif example, doc page).
  • keyboard shortcuts aor functions such as dbstop
  • Perhaps you selected one of these condtional error handling options at the bottom of the image below and your code execution triggered a condition
how to I get out?
Options:
  1. hit shift + F5 to end debug mode
  2. press F5 to continue execution
  3. De-select any conditional error handling options in the image above or use dbquit all
These lists are not exhaustive so you may have arrived in this situation differently Check out the documentation for debug mode - it's a powerful tool to learn.
  2 件のコメント
alpedhuez
alpedhuez 2022 年 6 月 30 日
What is a debug mode in a sentence? How is it different from setting the breakpoint?
Jan
Jan 2022 年 6 月 30 日
When you set a breakpoint, Matlab is in debug mode, when it enters this line. Then the execution stops and you can check the values of the variables.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeEnvironment and Settings についてさらに検索

タグ

製品


リリース

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by