Hi Burak
Try the following:
path = fileparts(which('spm.m'));
Regards, Adrian
Burak Ozkalayci schrieb:
> Dear list,
>
> I have a very simple problem. I am making a package to distribute my
> implementations which uses SPM. In order to make it independent from
> user to user I need to detect the folder which spm is installed. Can
> anyone give me that trick to get that spm installation folder variable?
>
> Best
>
> Burak Ozkalayci
--
There may be fairies at the bottom of the garden. There is no evidence for it, but you can't prove that there aren't any, so shouldn't we be agnostic with respect to fairies? (R. Dawkins)
|