Home Questions how can i design the simulink program to repeat trial again if tester does't meet my requirement

how can i design the simulink program to repeat trial again if tester does't meet my requirement

DWQA QuestionsCategory: KINARM End-Point Labhow can i design the simulink program to repeat trial again if tester does't meet my requirement
Yihui Xu asked 5 years ago
hi, now i am creating a trial where the testers need to reach several targets one by one. if their movement time is too long, then the target will be marked as error, and test will have to reach the error target again at the end of the trial, the trial won't end until testers do it correctly. so can anyone tell me what should i do to repeat the trial?
1 Answers
Koloman Varady Staff answered 5 years ago
Hi Yihui, I am not sure what your Stateflow looks like but can you just connect your Stateflow state where they reach the target with a new transition to the state where they have to start the reach? That way the trial won't finish until they meet the correct conditions. Cheers, Koloman