If you are trying to determine whether you are using maple based symbolic toolbox or the MuPad based one then you cannot use symengine by itself and you cannot easily switch between maple and mupad engines.
For a few releases after MuPad was introduced, symengine could be used to switch between the maple based engine and MuPad engine. However that was removed before r2010a (I would have to check exactly which release)
So, your options include:
- use which to determine whether a function exists which is present in maple engine but not MuPad (or the other way around)
- use which('syms') and analyze the directory to see which engine is serving you
- use try/catch to determine which one you have
Now if you want to switch between maple and MuPad engines, you need to adjust the matlab path, as the ability to switch by command was removed.