- #1
PhysicsTruth
- 117
- 18
- TL;DR Summary
- I'm a beginner in MATLAB and I want some help regarding how to activate a main file which calls another file within it in MATLAB online.
First of all, I'm an absolute beginner in MATLAB.
Secondly, I have 2 MATLAB files, one entitled as a "main file" and the other one as a helping .m file, which is called by the main file. I need to run the main file in order to obtain 3 plots. What is the exact procedure that I should follow in my online MATLAB handle to simulate these? Do I need to add both files under the same folder? Can someone guide me through these?
Secondly, I have 2 MATLAB files, one entitled as a "main file" and the other one as a helping .m file, which is called by the main file. I need to run the main file in order to obtain 3 plots. What is the exact procedure that I should follow in my online MATLAB handle to simulate these? Do I need to add both files under the same folder? Can someone guide me through these?