MATLAB Answers

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.

1 ビュー (過去 30 日間)
faiza gul
faiza gul 2018 年 8 月 27 日
コメント済み: faiza gul 2018 年 8 月 27 日
code for obstacle drawing
function drawObstacles(obstacles)
if(~ isempty(obstacles))
plot(obstacles(:,1), obstacles(:,2), '.k'); %plot the obstacles

  9 件のコメント

表示 6 件の古いコメント
Rik 2018 年 8 月 27 日
I you use the green run button, the default is to run the function without any inputs. So you should either use the dropdown under the run button to insert your variable, or you should write the code in a script or in the command windown.
faiza gul
faiza gul 2018 年 8 月 27 日
Thankyou so much it worked. Thanks for quick guidance
faiza gul
faiza gul 2018 年 8 月 27 日
Can you help me with Mapping for robot in matlab?


回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by