Hi Chris,
I’m wondering about the possibility of using MWorks’ Matlab window from 2 client computers connecting to the same server simultaneously. Is this possible to do without breaking anything? I’ve tried it once and I think I remember that when I connected with the second computer, the “values” for the first computer got cleared. Will this always be the case? Also, is it possible for the two clients to be passing different “values” matrices back and forth with the server?
Thanks,
Evan
Hi Evan,
I’m wondering about the possibility of using MWorks’ Matlab window from 2 client computers connecting to the same server simultaneously. Is this possible to do without breaking anything?
It definitely should be possible. At least, I don’t see any reason why it wouldn’t work. (Famous last words, perhaps.)
I’ve tried it once and I think I remember that when I connected with the second computer, the “values” for the first computer got cleared.
I suspect you were running in to this issue. I recommend trying it again with a recent nightly build.
Also, is it possible for the two clients to be passing different “values” matrices back and forth with the server?
The “values” array is passed between MWClient and MATLAB; it’s never sent to MWServer. Hence, even if you wanted to share it between clients, there’d be no way to do so.
Cheers,
Chris
Hi Chris,
Right, that makes sense about the values array, that slipped my mind.
I tried this and it’s working and didn’t reset my values array. It did however cause “sync” to get set to 0. Not a big deal but might be worth changing at some point.
Evan