Loop 30 minute (but time base on pc)

1 次查看(过去 30 天)
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;

采纳的回答

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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Loops and Conditional Statements 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by