Hello Aydin,
Have a look at this str2func. It converts string into function. If you want to declare your PLearn and PRecall inside the CrosVal function it might work:
when it comes to call the function, I think you can call it with using ‘@’ but I am not sure about the syntax.
As far as I understand, your function gets Plearn PRecall functions outputs as inputs and also gets Par1 and Par2 as inputs. And gives you an F output. What will be your F value?