Calling a matlab (.m) file from another matlab (.m) file
1 次查看(过去 30 天)
显示 更早的评论
I want to call file of Matlab like 'height_control.m' from another file like 'controller.m'. How will I call?
0 个评论
回答(1 个)
KSSV
2016-5-19
Make it a function 'height_control.m' with the inputs it needs and call this function in your controller.m file.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 File Operations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!