Azzera filtri
Azzera filtri

how can i bypass an input or output from a udf?

4 visualizzazioni (ultimi 30 giorni)
Qasim Manzoor
Qasim Manzoor il 23 Ott 2013
function[m2,P2P1,T2T1,Po2Po1]=oswbudf(m1,y,b1,cp,r)
in this udf sometimes i dont need the third and fourth output i just need the first two. so is there a way i can bypass these and just get the first two outputs?
also function[m2,P2P1,T2T1,Po2Po1]=oswbudf(m1,y,b1,t1,cp,r)
i need a way in which i give only one of the two inputs (from b1 or t1) and depending on the input that was given the udf executes different lines of code for each case. is this possible or should i write a separate udf file for that?

Risposte (0)

Categorie

Scopri di più su Fuzzy Logic Toolbox 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