필터 지우기
필터 지우기

Defining MATLAB function parameters

조회 수: 2 (최근 30일)
DM
DM 2015년 4월 20일
답변: Bopanna 2019년 6월 14일
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

답변 (1개)

Bopanna
Bopanna 2019년 6월 14일
They are being stored as 'Structure arrays'

카테고리

Help CenterFile Exchange에서 Software Development Tools에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by