~ in function definition

18 visualizzazioni (ultimi 30 giorni)
Ed Davis
Ed Davis il 15 Giu 2012
Commentato: 泽洲 il 12 Ago 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?

Risposta accettata

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

Più risposte (0)

Categorie

Scopri di più su Language Fundamentals in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by