MATLAB Answers

Loop 30 minute (but time base on pc)

3 views (last 30 days)
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;

  0 Comments

Sign in to comment.

Accepted Answer

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

  1 Comment

Matmien
Matmien on 3 Dec 2011
u have reference link abaout it ?

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by