Hi all!
I am running a test setup where I need to take measurements at varying intervals that are between the values of 47 < T < 53 seconds.
By this I mean, the period between executions of TimerFcn is not a constant value, rather a random value between 47 and 53.
Do you guys know if this is possible with the timer function?
I checked the 'Period' property of Timer(), and it takes a double value, not a function.
This is how I have my code set up right now.
getMeasurementsTimer = timer();set(getMeasurementsTimer, 'executionmode', 'fixedRate', 'period', data);set(getMeasurementsTimer, 'StartFcn', {'startTest', hObject});set(getMeasurementsTimer, 'TimerFcn', {'getTemp', hObject});
Best Answer