Effacer les filtres
Effacer les filtres

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

1 vue (au cours des 30 derniers jours)
Maidul Islam
Maidul Islam le 19 Mai 2016
Réponse apportée : KSSV le 19 Mai 2016
I want to call file of Matlab like 'height_control.m' from another file like 'controller.m'. How will I call?

Réponses (1)

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

Catégories

En savoir plus sur File Operations dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by