Calling a function file in a method

조회 수: 2 (최근 30일)
Gabriel
Gabriel 2023년 4월 3일
댓글: Gabriel 2023년 4월 3일
I have a function called: 'location.m', and I would like to call this function in a method in a class file that I have. Is this possible to do or is there an easier way to do this?

채택된 답변

Steven Lord
Steven Lord 2023년 4월 3일
If location.m is a function file and the function you want to call is the first function in the file, the main function, just call it like you would any other function like svd or plot or why.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Symbolic Math Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by