Automatic creation of empty file

4 ビュー (過去 30 日間)
Yopery
Yopery 2022 年 3 月 2 日
回答済み: Benjamin Kraus 2022 年 3 月 2 日
Hello, i made a mistake. When you try to open a function that doesn’t exist, it shows a message asking if I want to create it. I pressed yes and « do not show msg again »… Now it creates empty files and it’s a problem. I would like to find the option to cancel this, not to create many empty files all the time while debugging haha. Thank you !!

回答 (1 件)

Benjamin Kraus
Benjamin Kraus 2022 年 3 月 2 日
I've made this mistake many times. Fortunately, the fix is easy.
1. Press the "Preferences" button in the "Environment" section of the MATLAB Toolstrip
2. In the tree on the left of the Preferences dialog, select "MATLAB" -> "General" -> "Confirmation Dialogs":
3. On the right, check the box next to "Prompt when editing files that do not exist."

カテゴリ

Help Center および File ExchangeMATLAB Code Analysis についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by