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

6 views (last 30 days)
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.

Accepted Answer

Steven Lord
Steven Lord on 14 Jul 2022
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.

More Answers (0)

Tags

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!