Displaying 2 results from an estimated 2 matches for "setfunction".
Did you mean:
getfunction
2008 Mar 17
0
R.matlab errors and slow con
...e connection :
Matlab(host="localhost", port=9999, remote=FALSE)
matlab<- Matlab()
isOpen.Matlab(matlab)
Also, the initial examples in the help file work fine, but I encounter an
error when trying to evaluate the following expression:
# Create a function (M-file) on the Matlab server
setFunction(matlab, " \
function [win,aver]=dice(B) \
%Play the dice game B times \
gains=[-1,2,-3,4,-5,6]; \
plays=unidrnd(6,B,1); \
win=sum(gains(plays)); \
aver=win/B; \
");
> evaluate(matlab, "[w,a]=dice(1000);")
Error in list("evaluate(matlab, "[w,a]=dice(1000);")&qu...
2009 Sep 25
0
Wine release 1.1.30
...alization.
wined3d: Don't free D3D pixel shaders until the wined3d pixel shader is destroyed.
d3d8: Set the vertex declaration's shader handle in vertexdeclaration_init().
wined3d: Move some common shader functions to the IWineD3DBaseShader interface.
wined3d: Remove SetFunction() from the public shader interface.
wined3d: Move common shader fields to IWineD3DBaseShaderClass.
wined3d: Rename IWineD3DDevice::SetIndices() to IWineD3DDevice::SetIndexBuffer().
wined3d: Rename IWineD3DDevice::GetIndices() to IWineD3DDevice::GetIndexBuffer().
d3d8: It'...