~ in function definition

18 views (last 30 days)
Ed Davis
Ed Davis on 15 Jun 2012
Commented: 泽洲 on 12 Aug 2023
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?

Accepted Answer

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

More Answers (0)

Categories

Find more on Language Fundamentals 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!