Print a statement to the Command Window
8,205 views (last 30 days)
Show older comments
I am writing a program. I want to display the statement 'job done' as the output in the Command Window. How can I do it?
2 Comments
GOPINATHAN PRAKASH
on 20 Jun 2021
Hai navneet nayan,
disp('job done');
disp command is used display the string values.
Accepted Answer
More Answers (5)
Gaurav Srivastava
on 26 May 2019
It's not happening. How to display LHS=RHS?
3 Comments
sidway
on 13 Aug 2021
Try to make a diference between a and b with a tolerance
托尔= 1 e - 3
ifabs(a - b) < tol
disp('LHS=RHS')
end
Dhritishman
on 10 Jul 2022
Use the
disp
function to print to the command window:
disp('job done')
0 Comments
See Also
Categories
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!