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 views (last 30 days)
code for obstacle drawing
function drawObstacles(obstacles)
if(~ isempty(obstacles))
plot(obstacles(:,1), obstacles(:,2), '.k'); %plot the obstacles
end
  9 Comments

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!