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

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

카테고리

도움말 센터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