This should help you, solving the problems:
Issuing a call to a function
3 次查看(过去 30 天)
显示 更早的评论
I'm trying to call up a function as another file, FileA, into FileB but I'm not sure what to do exactly. I tried to put my_function(FileA), my_function('FileA), my_function('FileA.m') but I just get the message "Undefined function or variable 'my_function'.". I have FileA pulled up in the left side bar with the current folder files but I'm not sure what else I need to do to fix it.
Thanks
0 个评论
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Entering Commands 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!