Thanks a lot for your reply!
First of all, your suggestion of adding the extra line of code in sdpvar/replace solved completely the problem... can I leave that line there or is it just a patch for this particular situation? in other words... will next releases of yalmip include it or not? In any case I'm running Yalmip Version 3 (R2012a) 26-Nov-2012 on Matlab R2010b (WIN 32bit) and, in my case, the code crashed right after the solver was done... when computing the factorization of the solution (not in the replace itself... but it was crashing because it was looking for the .extra information that it couldn't find)
Second, my problem is not that simple... I just provided an example to highlight the issues I'm experiencing. My problem is similar to the DecayRate problem in
http://users.isy.liu.se/johanl/yalmip/pmwiki.php?n=Examples.DecayRate and, hence, it requires Bisection to be solved (or PENBMI whose license I'm still trying to obtain).
Finally, do you have any idea why Matlab complains (and ultimately crashes) if you use a parfor instead of a normal for loop? it seems that yalmip is trying to save some binary files... but I'm really unsure about this.
Giancarlo.