toolbox/shared/maputils directory cannot be found after installing Mapping Toolbox.

I am using the Mapping Toolbox for a project I am working on. I am currently trying to upgrade the functionality of some previous code.
One of the apps calls the "fromDegrees" function apparently included in the Mapping Toolbox. When I try to run that specifc part of the app, I get an error saying:
Unrecognized function or variable 'fromDegrees'
I did some digging and found a similar comment posted by another user, with one of the responses saying that the function file should be included in the toolbox/shared/maputils directory within the matlab directory. However, when I go and try to find that file in the "shared" directroy, the maputils directory does not exsist, or rather was not downloaded when I installed the Mapping Toolbox. I checked the remainder of the contents of the mapping toolbox direcotry and everything seems to be properly dowloaded and in their correct place within both the shared directroy and map directroy. I have already tried to uninstall and reinstall the mapping toolbox, this has not resolved the issue.
I am not sure if the "maputils" directroy was installed somewhere else incorrectly or if it was not downloaded at all. When I do a simple search through my matlab directories for maputils, nothing comes up.
I have debated changing all of the uses of "fromDegrees" to "deg2rad", however, there are other functions that should be in the maputils directory, like "wrapTo180", that are used throughout the app(s) that similarly return "Unrecognized function or variable."
Is there any way to resolve this issue? Any help is appreciated. Thank you in advnace.

回答(0 个)

产品

版本

R2021b

提问:

2024-9-22

Community Treasure Hunt

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

Start Hunting!

Translated by