Calling a user-created function in a different script
이전 댓글 표시
Hello everyone,
So I created a function that resets some variables in a game, once the game has finished. I want to call that function in a script, their both in the same folder and are both accessible by matlab. I come more from C++ so I am used to an explicit #include "", but I know that is not how matlab does things. So I am wondering how one can call a function (the function header has the same name as the function's .m file) in a script. Thank you in advance.
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Number games에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!