Rank: 42589 based on 0 downloads (last 30 days) and 0 file submitted
photo

Daniel

E-mail

Personal Profile:

 

Watch this Author's files

 

Comments and Ratings by Daniel View all
Updated File Comments Rating
10 Mar 2011 PLOT_LINES Plots vertical lines at points defined on the x-axis. Author: Stephan Wegerich

Thanks! it works fine.

19 Jul 2010 ROUND2 Round to a specified number of decimals. Author: Mukhtar Ullah

Thanks a lot! Unbelievable Matlab does not have one in their main functions!

01 May 2010 MATLAB R-link Functions for calling the statistical package R from within MATLAB. Author: Robert Henson

I' really looking forward to master this application! very useful!
I have a problem to execute some R commands. Although the demo is running properly, I get an error message when I try to execute the following commands:
status = openR;
evalR('install.packages("bcp")')
evalR('library("bcp")')
evalR('data("RealInt")')
evalR('n <- length(RealInt)')
evalR('bcp.ri <- bcp(as.vector(RealInt), p0 = 0.1)')
closeR;
If I run the same commands in R, it works, but Matlab gives me the following errors for every command after the second line:

Error using ==> evalR at 58
Problem evaluating command library("bcp").
Invoke Error, Dispatch Exception: L'objet est statique; l'opération n'est pas
autorisée

Any idea why or how can I fix it? Thank you.

Contact us