~ in function definition

16 Ansichten (letzte 30 Tage)
Ed Davis
Ed Davis am 15 Jun. 2012
Kommentiert: 泽洲 am 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?

Akzeptierte Antwort

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

Weitere Antworten (0)

Kategorien

Mehr zu Language Fundamentals finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by