Run two for loops at the same time

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 个评论

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 个)

类别

帮助中心File Exchange 中查找有关 Loops and Conditional Statements 的更多信息

提问:

2019-9-29

评论:

Rik
2019-9-29

Community Treasure Hunt

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

Start Hunting!

Translated by