Why is the rotateframe function not found when searched via help or which -all?

Illustration
Zachary - 2021-04-05T11:30:12+00:00
Question: Why is the rotateframe function not found when searched via help or which -all?

Why does the "rotateframe" function not appear to be found when executing either of the following commands?     >> help rotateframe rotateframe not found. Use the Help browser search field to search the documentation, or type "help help" for help command options, such as help for methods. >> which -all rotateframe 'rotateframe' not found.

Expert Answer

Profile picture of John Michell John Michell answered . 2025-11-20

This occurs because "rotateframe" is a method of the "quaternion" class. Once the class definition for the "quaternion" class is loaded into memory, e.g. when a "quaternion" object is instantiated into the workspace, then the issue should not occur. To confirm, execute the following commands:
 
 
>> quaternion
>> help rotateframe
>> which -all rotateframe
Alternatively, to learn about how to use the "rotateframe" function without the need to instantiate an object of the "quaternion" class, you can either execute the "doc" command to search the  documentation for "rotateframe",
 
 
>> doc rotateframe
or you can execute the following command to directly return the Help information for "rotateframe":
 
 
>> help quaternion.rotateframe


Not satisfied with the answer ?? ASK NOW

Get a Free Consultation or a Sample Assignment Review!