Clear Filters
Clear Filters

Calling a matlab (.m) file from another matlab (.m) file

1 view (last 30 days)
I want to call file of Matlab like 'height_control.m' from another file like 'controller.m'. How will I call?

Answers (1)

KSSV
KSSV on 19 May 2016
Make it a function 'height_control.m' with the inputs it needs and call this function in your controller.m file.

Categories

Find more on File Operations in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!