Displaying 6 results from an estimated 6 matches for "matlabserver".
2010 Aug 27
8
R.matlab package help
Hi,all
I have a problem running R.matlab package
(under 2.10.1 version). I can set up the matlab server under local
machine(run the MatlabServer.m), "
And I can use setVariable and evaluate matlab functions in R. But when I ask
Matlab to send the value back to R using getVariable function it
always returns an error:
"
??? Error: A MATLAB string constant is not terminated properly.
Error in ==> MatlabServer at 197
eval(e...
2007 Nov 17
3
R and reading matlab compressed files
Is there any way to read these files (standard .mat files, created by
matlab version 7 onwards are compressed)? I know that R.matlab doesn't
read them (it even says in the file MatlabServer.m "Matlab v7 saves
compressed files, which is not recognized by R.matlab's readMat()" (lines
47-8)).
I know I should be able to make R call Matlab and transfer data (not that
I managed to make it work yet!), but I'd rather not run Matlab & R
together: I'd like to use R to...
2007 Apr 10
2
Matlab import
Dear R-Experts,
here again a question concerning matlab. With the command "matrixM=[1 2
3;4 5 6]" a matrix under Matlab was constructed. It was than stored with
the command "save('matrixM.txt','matrixM')".
Now I tried to import the data in R with the help of the command
"Z=matrix(scan("Z:/Software/R-Programme/matrixM.txt"))"
An error
2006 Dec 17
1
Start Matlab server in R 2.4.0
...use: JVM_Bind
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(Unknown Source)
at java.net.ServerSocket.bind(Unknown Source)
at java.net.ServerSocket.<init>(Unknown Source)
at java.net.ServerSocket.<init>(Unknown Source)
.
Error in ==> MatlabServer at 113
server = ServerSocket(port);
?
Does anyone would like to point out what is reason for these?
I am new to R.matlab. I am not sure if this question is too silly. Before I
post this
question here, I did try to do google search to find answer by myself.
But I didn't get point.
If this...
2013 Feb 07
0
Help R.matlab
...K1G*(Tr(:,1)+Tr(:,2)+Tr(:,3))) + (K2G*Tr(:,4)));
ProbI = 1-exp(-FoIG);
res = gather(ProbI);
"
Sent byte: 0
Received cmd: 1
"eval" string: "variables = {'res'};"
Sent byte: 0
Received cmd: 2
save(tmpname, '', 'res')
answer=0
Error using
MatlabServer
(line 147)
Java exception
occurred:
java.net.SocketException:
Connection reset
at
java.net.SocketInputStream.read(Unknown
Source)
at
java.net.SocketInputStream.read(Unknown
Source)
at
java.io.DataInputStream.readByte(Unknown
Source)
--
---------------------...
2007 Nov 23
0
R users in Cyprus
...-ascii)
Suresh
> On 17/11/2007, Prof Leslie Smith <lss at cs.stir.ac.uk> wrote:
>> Is there any way to read these files (standard .mat files, created by
>> matlab version 7 onwards are compressed)? I know that R.matlab doesn't
>> read them (it even says in the file MatlabServer.m "Matlab v7 saves
>> compressed files, which is not recognized by R.matlab's readMat()"
>> (lines
>> 47-8)).
>>
>> I know I should be able to make R call Matlab and transfer data (not
>> that
>> I managed to make it work yet!), but I'...