Borrar filtros
Borrar filtros

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

1 visualización (últimos 30 días)
Maidul Islam
Maidul Islam el 19 de Mayo de 2016
Respondida: KSSV el 19 de Mayo de 2016
I want to call file of Matlab like 'height_control.m' from another file like 'controller.m'. How will I call?

Respuestas (1)

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

Categorías

Más información sobre File Operations en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by