MATLAB: Inherit from class that is not in the path

inheritanceMATLABoop

Hello,
Is it possible to inherit from a class that is not preloaded in the path?
Suppose I have ClassA in FolderA and I am now in FolderB (FolderA and FolderB are in the same parent folder) and want ClassB to inherit from ClassA, is this possible?
The reason I don't simply add FolderA to the path is that I want to be able to run directly from ClassB without running any prior code.
Thanks!

Best Answer

No, it's not possible.