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

2 次查看(过去 30 天)
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.

采纳的回答

Steven Lord
Steven Lord 2022-7-14
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 个)

标签

产品


版本

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by