~ in function definition

18 次查看(过去 30 天)
Ed Davis
Ed Davis 2012-6-15
评论: 泽洲 2023-8-12
Looking at some previous code I found a function that is defined as function(x,y,z]=fun(~,~,~)
what are the ~ doing in the input list?

采纳的回答

the cyclist
the cyclist 2012-6-15
The function input will be ignored. It is described here:

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Language Fundamentals 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by