how is matlab automatically using the variable in another file which was not defined in the current file

Hi I was running a pretrained neural network but when I was done with training, I tried to test the set of data but in this testing part I used the New_Trained_Net but I didn't defined this variable in test file, I defined this "New_Trained_Net" in the training file.
So, when I was running the testing part code which was in a different file it automatically executed the code withou errors though I didn't define the "New_Trained_Net" in the testing file.
How does the MATLAB automatically uses this "New_Trained_Net" variable in the test file.

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeDeep Learning Toolbox についてさらに検索

質問済み:

2021 年 12 月 9 日

コメント済み:

2021 年 12 月 9 日

Community Treasure Hunt

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

Start Hunting!

Translated by