Hello ...plz someone help me to solve this issue....Getting parse error at function and showing function definitions are not permitted in this contex
1 次查看(过去 30 天)
显示 更早的评论
采纳的回答
Birdman
2018-3-20
Copy the function Dij to a separate m file and save it with its name Dij. Then, in your script part1, you have to call the function properly with its input arguments like:
Dij( in1, in2, in3)
and then run your part1 script. Also, read about function basics as well:
更多回答(0 个)
另请参阅
类别
在 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!