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
Show older comments
Undefined function 'delay' for input arguments of type 'double'.
Error in main (line 17) delay(2000);
Answers (2)
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
on 4 Feb 2017
0 votes
In MATLAB, use the pause function.
Categories
Find more on Instrument Control Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!