Loop 30 minute (but time base on pc)

1 Ansicht (letzte 30 Tage)
Matmien
Matmien am 3 Dez. 2011
hello,
how to do loop 30min for this command?
function out=multipathmapping
ftpsite=ftp('xxxxxx','xxxxx','xxxx'); cd(ftpsite, 'ISK1/Hourly/210'); mget(ftpsite, 'isk1210b.zip'); unzip('isk1210b','C:\Multipath3SGU\MultipathMapping3SGU');
a = 'C:\Multipath3SGU\MultipathMapping3SGU\isk1210b.11o';%directory the obs file teqc_cm = sprintf('C:\\Multipath3SGU\\MultipathMapping3SGU\\teqc +qc %s',a);% directory teqc and the command of teqc system(teqc_cm);%run DOS
out=teqcspec;

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 3 Dez. 2011
Controlling the length of time that system() executes for is difficult in MATLAB.

Weitere Antworten (0)

Kategorien

Mehr zu Loops and Conditional Statements finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by