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

1 view (last 30 days)
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.

Answers (0)

Community Treasure Hunt

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

Start Hunting!