clc % clear the command prompt close all fprintf('wait please\n'); % to print a string in command prompt imaqreset % disconnect and delete all image aquisition objects clear all

조회 수: 2 (최근 30일)
Pratik Desai
Pratik Desai 2017년 2월 4일
편집: Stephen23 2017년 2월 4일
Undefined function 'delay' for input arguments of type 'double'.
Error in main (line 17) delay(2000);

답변 (2개)

Stephen23
Stephen23 2017년 2월 4일
편집: Stephen23 2017년 2월 4일
Possibly you are running Octave code: delay is an Octave function, but it is not a MATLAB function.
The correct MATLAB function may be pause. Try it.
Or maybe delay is a local function or other third-party function that your code requires, but that is not located anywhere on the MATLAB path. In this case, find the file and put it on the MATLAB path.

Star Strider
Star Strider 2017년 2월 4일
In MATLAB, use the pause function.

카테고리

Help CenterFile Exchange에서 Octave에 대해 자세히 알아보기

태그

아직 태그를 입력하지 않았습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by