PAUSE4

Create true pause intervals while executing other lines of code.

現在この提出コンテンツをフォロー中です。

PAUSE4 Run code while pausing for specified time.

PAUSE4(n) ... PAUSE4 should be used as a clause that wraps code that is intended to run during a specified interval. n is in seconds, and it can be fractional. PAUSE4 without any arguments completes the pause routine.

Example:
PAUSE4(2);
<code 1>
PAUSE4;
<code 2>

This will run <code 1> during "pause" period, and <code 2> will be executed 2 seconds after PAUSE4(2) command.

This is useful if you want to maintain a regular interval, but do not want intermediate code to disrupt the interval. If the execution of <code 1> is longer than the pause period, <code 2> will execute immediately after the clause.

引用

Jiro Doke (2026). PAUSE4 (https://jp.mathworks.com/matlabcentral/fileexchange/6834-pause4), MATLAB Central File Exchange. に取得済み.

カテゴリ

Help Center および MATLAB AnswersCreating and Concatenating Matrices についてさらに検索

一般的な情報

MATLAB リリースの互換性

  • すべてのリリースと互換性あり

プラットフォームの互換性

  • Windows
  • macOS
  • Linux
バージョン 公開済み リリース ノート Action
1.2.0.0

Copyright update.

1.1.0.0

Add BSD license.

1.0.0.0