Run two for loops at the same time

3 次查看(过去 30 天)
hsgaya
hsgaya 2019-9-29
评论: Rik 2019-9-29
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 个评论
Rik
Rik 2019-9-29
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.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Loops and Conditional Statements 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by