Call a Matlab file as a library in other functions
조회 수: 2 (최근 30일)
이전 댓글 표시
Hello guys, I am pretty new to MATLAB so I need help. So basically I am converting a python code to MATLAB. Now, I have coded a function in a script file and saved it as Config.m. Now, I want to use the function in my main program so I need to import it...How to do it? If it's python I could directly use Import function but it's not working on MATLAB. HELP ME OUT PLEASE
댓글 수: 0
답변 (1개)
Deep
2023년 7월 10일
The following links should be useful to you.
When you call a function, MATLAB automatically looks through all the folders in the MATLAB path to find a .m file that matches the function name.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Call Python from MATLAB에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!