Defining MATLAB function parameters

1 vue (au cours des 30 derniers jours)
DM
DM le 20 Avr 2015
Réponse apportée : Bopanna le 14 Juin 2019
Hi,
My question is regarding MATLAB syntax, I provided an example but I care about the syntax and not specifically about this particular example. Below is the code.
[prmLTEPDSCH, prmMdl] = ltePDSCHprms(2, chanBW, contReg, modType, ...
chanMdl, numTx, numRx);
prmMdl.maxDopp = maxDopp;
prmMdl.pathGains = pathGains;
prmMdl.pathDelays = pathDelays;
prmMdl.corrLevel = corrLvl;
prmMdl.showScopes = showScopes;
I understand the first line of this code, basically passing on arguments to the function ltePDSCHprms. However the 5 following lines, I dont understand what is there purpose. Are we defining new parameters that were not originally defined in the function ltePDSCHprms?
Thanks

Réponses (1)

Bopanna
Bopanna le 14 Juin 2019
They are being stored as 'Structure arrays'

Catégories

En savoir plus sur Software Development Tools dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by