I want my code conditions checked every 1/2000th of a second, how can I do that?
I have multiple if conditions that is being checked to provide pulse and gate signals to switches I want that these conditions be checked every 1/2000th of a second. I tried for loop and tic toc methods but the condition is being checked at a frequency of 200kHz. I am not able to solve this issue kindly helpI have multiple if conditions that is being checked to provide pulse and gate signals to switches I want that these conditions be checked every 1/2000th of a second. I tried for loop and tic toc methods but the condition is being checked at a frequency of 200kHz. I am not able to solve this issue kindly help I have multiple if conditions that is being checked to provide pulse and gate signals to switches I want that these conditions be checked every 1/2000th of a second. I tried for loop and tic toc methods but the condition is being checked at a frequency of 200kHz. I am not able to solve this issue kindly help loop condition, if statement, for loop MATLAB Answers — New Questions