Clear Filters
Clear Filters

Run two for loops at the same time

2 views (last 30 days)
hsgaya
hsgaya on 29 Sep 2019
Commented: Rik on 29 Sep 2019
Hi,
I'm trying to move two cubes in opposite directions(along x axis) at the same time.I was created two for loops .But they are move one after another.But I want move them simultaneously .Can anybody help me?
  1 Comment
Rik
Rik on 29 Sep 2019
You can probably merge the contents of the two loops. Without knowing the actual code you're trying to run it is difficult to give you specific advice.

Sign in to comment.

Answers (0)

Categories

Find more on Loops and Conditional Statements in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!