I am working on obstacle avoidance and path following code. For which I have made different functions in matlab. My question when ever I run them it says "Not enough input arguments".Is this is the problem with Matlab software ,I am using R2017a.

2 次查看(过去 30 天)
code for obstacle drawing
function drawObstacles(obstacles)
if(~ isempty(obstacles))
plot(obstacles(:,1), obstacles(:,2), '.k'); %plot the obstacles
end
  9 个评论

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Code Generation 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by