Problems with which function in 2021a vs 2016b
Ältere Kommentare anzeigen
Hi,
I am having trouble getting file path of get methods using "which" function in 2021a. I don't encounter this problem in 2016b.
For example, I have a classX which has a method get.something:
- In 2016b : which('classX>get.Something') gives the full path of where classX is located.
- However in 2021a : which('classX>get.Something') says that get.Something not found.
I have tried many things but not been able to make it work. I am a relatively new to matlab so any help will be appreciated.
2 Kommentare
Walter Roberson
am 28 Mär. 2022
Are you taking into account that using which() to inquire about methods of a class generally does not work until at least one object has been constructed from the class?
Abdul Moiz
am 28 Mär. 2022
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Linear Algebra finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!