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 comentario

Rik
Rik el 29 de Sept. de 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.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Loops and Conditional Statements en Centro de ayuda y File Exchange.

Preguntada:

el 29 de Sept. de 2019

Comentada:

Rik
el 29 de Sept. de 2019

Community Treasure Hunt

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

Start Hunting!

Translated by