Borrar filtros
Borrar filtros

Function with one input and no outputs

391 visualizaciones (últimos 30 días)
Heather Torella
Heather Torella el 20 de Abr. de 2021
Respondida: Matt J el 21 de Abr. de 2021
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!

Respuesta aceptada

Matt J
Matt J el 21 de Abr. de 2021
printmsg("Hello World")
Hello World
function printmsg(msg)
disp(msg)
end

Más respuestas (0)

Categorías

Más información sobre Matched Filter and Ambiguity Function en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by