Hello!
I was just wondering if anyone knew how to define a function with one input and no outputs and could maybe give an example? Thank you!

 채택된 답변

Matt J
Matt J 2021년 4월 21일
printmsg("Hello World")
Hello World
function printmsg(msg)
disp(msg)
end

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Simulink에 대해 자세히 알아보기

질문:

2021년 4월 20일

답변:

2021년 4월 21일

Community Treasure Hunt

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

Start Hunting!

Translated by