Clear Filters
Clear Filters

Change speed of for loop

2 views (last 30 days)
Marlous Verhulst
Marlous Verhulst on 12 Apr 2018
Hi,
I am currently writing a script that analyses a .txt file pseudo-real time. I am using a for loop to do this in order to do as if the data comes in real time (one sample at a time). However, Matlab uses its highest speed to perform this for loop. I am wondering whether it is possible to change the speed of a for loop. In that case I can let the samples enter the for loop at the same speed as they were originally recorded.
Thanks!

Answers (0)

Categories

Find more on Loops and Conditional Statements in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!