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

3 views (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.

Community Treasure Hunt

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

Start Hunting!