Discrepancy in Matlab documentation between code and webpage content for GPS Waveform Generation example

The Matlab documentation has an example to GPS waveform generation. https://www.mathworks.com/help/satcom/ug/gps-waveform-generation.html Running:
openExample('satcom/GPSWaveformGenerationExample')
in the command window opens the livescript for the example. However this livescript is much different that what is on the webpage as far as the code goes. In the webpage, certain functions are used like: HelperGPSNavigationConfig() that is not recognized in the code, because it did not get imported into the current directory.
However this function is listed at the bottom of the webpage under Appendix. Clicking on it brings up the command:
openExample('satcom/GPSWaveformGenerationExample','supportingFile','HelperGPSNavigationConfig.m')
which does nothing different than the previous command. So what's going on here? My guess is the code for this example got updated but the documentation webpage for it didn't? or vice versa.

 채택된 답변

The page on the website, which is part of the documentation for the current release (right now that is release R2022a) does appear to be quite different from the version of that example for release R2021a. The version from release R2021b looks more like the one from release R2022a, and from the Release Notes I suspect that may be because of additional functionality added to Satellite Communications Toolbox in that release.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Automotive에 대해 자세히 알아보기

제품

릴리스

R2021a

태그

질문:

2022년 7월 14일

답변:

2022년 7월 14일

Community Treasure Hunt

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

Start Hunting!

Translated by