Calling a function file in a method

1 Ansicht (letzte 30 Tage)
Gabriel
Gabriel am 3 Apr. 2023
Kommentiert: Gabriel am 3 Apr. 2023
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?

Akzeptierte Antwort

Steven Lord
Steven Lord am 3 Apr. 2023
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.

Weitere Antworten (0)

Kategorien

Mehr zu Argument Definitions finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by