Search Comments and Ratings

go

   
Date File Comment by Comment Rating
14 May 2014 semaphore This mex file provides an interface with the POSIX semaphore functionality. Author: Joshua Dillon

Joshua Dillon (view profile)

Jonathan C. Lansey

5
02 May 2014 sharedmatrix SHAREDMATRIX Allows any Matlab object to be shared between Matlab sessions (w/o using file I/O). Author: Joshua Dillon

Joshua Dillon (view profile)

Bin

Bin (view profile)

Joshua, Is it possible to apply your method to implement a shared vector between a c++ executable and Matlab, instead of two Matlab processes?

thank you very much

Comment only
11 Feb 2014 semaphore This mex file provides an interface with the POSIX semaphore functionality. Author: Joshua Dillon

Joshua Dillon (view profile)

Andrew Smart

K, this one will work with MS Visual Studio (and POSIX compliant platforms): http://www.mathworks.com/matlabcentral/fileexchange/45504-semaphoreposixandwindows

You can alternatively try to use a POSIX implementation on top of windows: http://en.wikipedia.org/wiki/POSIX

Comment only
11 Feb 2014 semaphore This mex file provides an interface with the POSIX semaphore functionality. Author: Joshua Dillon

Joshua Dillon (view profile)

Andrew Smart

Unfortunately pastebin is now blocked at my work :(
I've submitted a new semaphore package on the file exchange, it will appear as soon as it is approved.

Comment only
11 Feb 2014 semaphore This mex file provides an interface with the POSIX semaphore functionality. Author: Joshua Dillon

Joshua Dillon (view profile)

Andrew Smart

I apologize about that. It appears I had misused pastebin. Looks like that microsoft API link is dead too. I had augmented Mr. Dillon's code to use CreateSemaphore, OpenSemaphore, and ReleaseSemaphore from the Windows API instead of sem_init, sem_wait, and etc from POSIX. Will attach a patch shortly.

Comment only
25 Nov 2013 sharedmatrix SHAREDMATRIX Allows any Matlab object to be shared between Matlab sessions (w/o using file I/O). Author: Joshua Dillon

Joshua Dillon (view profile)

Kevin Stone

dominik, sharedmatrix doesn't support class objects. Only numeric (dense/sparse/complex are all supported), logical, and character matrices, as well as cell arrays and structs consisting of those types of matrices.

Comment only
25 Nov 2013 sharedmatrix SHAREDMATRIX Allows any Matlab object to be shared between Matlab sessions (w/o using file I/O). Author: Joshua Dillon

Joshua Dillon (view profile)

dominik

hey, this submission, if it supports sharing griddedInterpolants, seems to be what i neeed.

But being new to mex files i failed to compile it on win64 matlab 2012a and 2013b. The compiled files of Kevin did work for me, but when i used them i couldnt share a variable of the griddedInterpolant class (while for a matrix it worked). In contrast http://smlv.cc.gatech.edu/2010/08/27/shared-memory-in-matlab/ seems to indicate any matlab object should be shareable.

Can anyone help with the compilation?
Here is whow i attempted to compile the files:

- installed sdk 7.1
- ran mex -setup
- downloaded and unzipped the latest boost
- adjusted the file SharedMemory_install for the boost path
- ran SharedMemory_install

i get a lot of errors, the last lines are " c:\users\dthaler\desktop\win\SharedMemory.hpp(85) : see declaration of 'mxArray_tag'
SharedMemory.cpp(586) : error C2227: left of '->data' must point to class/struct/union/generic type
SharedMemory.cpp(586) : error C2228: left of '.number_array' must have class/struct/union
SharedMemory.cpp(586) : error C2228: left of '.pimag_data' must have class/struct/union
SharedMemory.cpp(699) : warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data
SharedMemory.cpp(920) : warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data

C:\APPS\MATLAB\R2012A\BIN\MEX.PL: Error: Compile of 'SharedMemory.cpp' failed. "

- adding the code mentioned below "struct mxArray_tag { ..." to SharedMemory.hpp didnt help (different error: "LINK : fatal error LNK1104: cannot open file 'libboost_date_time-vc100-mt-1_55.lib' ")

- neither did adding the mex option -D"COMPLIANTMODE" (same error)

Comment only
25 Nov 2013 sharedmatrix SHAREDMATRIX Allows any Matlab object to be shared between Matlab sessions (w/o using file I/O). Author: Joshua Dillon

Joshua Dillon (view profile)

dominik

i forgot: i use windows 64 bit and therefore the windows version of shared matrix.

Comment only
11 Sep 2013 semaphore This mex file provides an interface with the POSIX semaphore functionality. Author: Joshua Dillon

Joshua Dillon (view profile)

Omar Shenawy

@Andrew Smart:
The pastebin link is private, if you could please post another link?

Comment only
17 Jun 2013 sharedmatrix SHAREDMATRIX Allows any Matlab object to be shared between Matlab sessions (w/o using file I/O). Author: Joshua Dillon

Joshua Dillon (view profile)

Kevin Stone

This function was exactly what I've been looking for! I work with large matrices that only need read access, and having each worker store the whole thing wastes a ridiculous amount of memory.

However, I did notice a few bugs in the windows implementation. One was with alignment -- I have a lot of SSE mex code that needs 16 byte aligned arrays -- setting align_size in the header wasn't working as intended. Another was the handling of empty matrices and uninitialized cells in cell arrays. Also, to keep matlab from crashing (due to detach not being called) on ctrl-c or when an error occurs I wrapped the SharedMemory calls in handle classes, and made use of James Tursa's mxGetPropertyPtr submission.

The modified code/scripts are at:

http://bengal.missouri.edu/~kes25c/SharedMemory-Windows.zip

It includes precompiled binaries for windows 64 (made with Visual Studio 2010 sp1 and Boost 1.53). Maybe it will help someone else.

5
14 Jun 2013 sharedmatrix SHAREDMATRIX Allows any Matlab object to be shared between Matlab sessions (w/o using file I/O). Author: Joshua Dillon

Joshua Dillon (view profile)

ag

ag (view profile)

1
13 Jun 2013 sharedmatrix SHAREDMATRIX Allows any Matlab object to be shared between Matlab sessions (w/o using file I/O). Author: Joshua Dillon

Joshua Dillon (view profile)

James Tursa

James Tursa (view profile)

FYI, the published mxArray_tag that you are using is incorrect for later versions of MATLAB. The last item you list is:

size_t reserved6[3];

I know this simply reflects what TMW has actually put in their header files, but it is incorrect for later versions of MATLAB. I verified this by actually looking at the starting addresses of a couple of mxArray variables that happened to be directly next to each other in memory. The last item is not really there. Not sure it makes a differenc to what you are doing, but on later versions of MATLAB you would need to do this in order to avoid accessing memory beyond the actual struct:

size_t reserved6[2];

Comment only
12 Jun 2013 sharedmatrix SHAREDMATRIX Allows any Matlab object to be shared between Matlab sessions (w/o using file I/O). Author: Joshua Dillon

Joshua Dillon (view profile)

Austin Abrams

I'm having some trouble with cloning arrays above a particular size:

>> shmkey = 12345;
>> shmsiz = sharedmatrix('clone',shmkey,rand(524000,1));
>> sharedmatrix('free', shmkey);
>> shmsiz = sharedmatrix('clone',shmkey,rand(525000,1));
??? Error using ==> sharedmatrix
Unable to create shared memory segment.

If it's helpful:

$cat /etc/sysctl.conf
kern.sysv.shmmax=33554432
kern.sysv.shmmin=1
kern.sysv.shmmni=256
kern.sysv.shmseg=64
kern.sysv.shmall=8192

>> m525000 = rand(525000,1);
>> m524000 = rand(524000,1);
>> whos m*
Name Size Bytes Class Attributes

m524000 524000x1 4192000 double
m525000 525000x1 4200000 double

Any thoughts?

Comment only
01 Jun 2013 semaphore This mex file provides an interface with the POSIX semaphore functionality. Author: Joshua Dillon

Joshua Dillon (view profile)

Andrew Smart

Thank you very much Mr Dillon. Didn't work for me w/ MS Visual Studio compiler, so I added support using whatever this is (http://msdn.microsoft.com/en-us/library/windows/desktop/ms682438%28v=vs.85%29.aspx) a year or so ago: http://pastebin.com/download.php?i=p3tZtf81

Hope this helps someone out there.

5
01 Jun 2013 sharedmatrix SHAREDMATRIX Allows any Matlab object to be shared between Matlab sessions (w/o using file I/O). Author: Joshua Dillon

Joshua Dillon (view profile)

Nneka Richards

Hi,

I am getting an error:

Unable to detach shared memory.

What might be the cause of this error?

Thank you

Comment only
11 Mar 2013 sharedmatrix SHAREDMATRIX Allows any Matlab object to be shared between Matlab sessions (w/o using file I/O). Author: Joshua Dillon

Joshua Dillon (view profile)

Ole

Ole (view profile)

Didn't I check these stars?

5
11 Mar 2013 sharedmatrix SHAREDMATRIX Allows any Matlab object to be shared between Matlab sessions (w/o using file I/O). Author: Joshua Dillon

Joshua Dillon (view profile)

Ole

Ole (view profile)

Just awesome!

I agree with Evan that the installation process is a bit rough for a compiler newbie (took me half a day to get this running). Among other things, I had to manually add code for the definition of a certain "mxArray_tag" from an "undocumented matlab" site (thanks to James Tursa for pointing this out!).

But once it is compiled it does a great job! If I detach from shared data after manipulating it, matlab does not crash. Perfect, big THANX!

Especially to Andrew Smith for porting this program to windows (thank you)!

Btw, I intend to use this programm for letting two matlab programs send output to the same parallel interface. This will (hopefully) be realized by a third program reading its instructions from shared memory. Looking forwart to testing this!

Comment only
04 Jan 2013 sharedmatrix SHAREDMATRIX Allows any Matlab object to be shared between Matlab sessions (w/o using file I/O). Author: Joshua Dillon

Joshua Dillon (view profile)

Evan

Evan (view profile)

Wow... difficult to get installed due to missing libraries, missing code, but works like a charm:

Excellent for local parallel computing (parfor) when you're broadcasting a large variable. Shared Memory allows you to skip this step, thereby greatly speeding up your code.

5
23 Oct 2012 Matlab Daemon A Bash script & Mex program which allows for #!-style scripting against a background Matlab session. Author: Joshua Dillon

Joshua Dillon (view profile)

Ben Dichter

I'm having trouble using this. I followed your README and when I type ./demo.m I get the following error: "readlink: illegal option -f
usage: readlink [-n] [file ...]" Any ideas?

Comment only
25 May 2012 sharedmatrix SHAREDMATRIX Allows any Matlab object to be shared between Matlab sessions (w/o using file I/O). Author: Joshua Dillon

Joshua Dillon (view profile)

Peter Costa

Nice Nice but
it works only between matlab of same version...
for example it does not work between matlab 2010a x64 and 2010a x32

Comment only
16 May 2012 Matlab Daemon A Bash script & Mex program which allows for #!-style scripting against a background Matlab session. Author: Joshua Dillon

Joshua Dillon (view profile)

Joshua Dillon

Joshua Dillon (view profile)

Hi Mathieu. That's the idea--just look at the code--it already does this.

Comment only
16 May 2012 Matlab Daemon A Bash script & Mex program which allows for #!-style scripting against a background Matlab session. Author: Joshua Dillon

Joshua Dillon (view profile)

Mathieu Dubois

Interesting concept.

It would be really interesting to be able to pipe data to the script. Do you have any idea on how to do that?

Comment only
14 Jan 2012 sharedmatrix SHAREDMATRIX Allows any Matlab object to be shared between Matlab sessions (w/o using file I/O). Author: Joshua Dillon

Joshua Dillon (view profile)

E Akbas

E Akbas (view profile)

5
14 Jan 2012 sharedmatrix SHAREDMATRIX Allows any Matlab object to be shared between Matlab sessions (w/o using file I/O). Author: Joshua Dillon

Joshua Dillon (view profile)

E Akbas

E Akbas (view profile)

Detach doesn't seem to work for this variable:

x = cell(2,1);
x{2} = [1];

A related question: I see that you deepcopy an mxArray to the shared memory by going through all the elements of the array. Is it not possible to copy the mxArray as a whole block using calls like memcpy and mxDuplicateArray?

Comment only
14 Jan 2012 sharedmatrix SHAREDMATRIX Allows any Matlab object to be shared between Matlab sessions (w/o using file I/O). Author: Joshua Dillon

Joshua Dillon (view profile)

E Akbas

E Akbas (view profile)

I'm getting "Unable to detach shared memory." errors. What are potential reasons for this?

Comment only
01 Nov 2011 sharedmatrix SHAREDMATRIX Allows any Matlab object to be shared between Matlab sessions (w/o using file I/O). Author: Joshua Dillon

Joshua Dillon (view profile)

Joshua Dillon

Joshua Dillon (view profile)

Email me. jvdillon at gmail

Comment only
01 Nov 2011 sharedmatrix SHAREDMATRIX Allows any Matlab object to be shared between Matlab sessions (w/o using file I/O). Author: Joshua Dillon

Joshua Dillon (view profile)

oscar escarcega

So Joshua! Do u have Andrew´s email?

Comment only
31 Oct 2011 sharedmatrix SHAREDMATRIX Allows any Matlab object to be shared between Matlab sessions (w/o using file I/O). Author: Joshua Dillon

Joshua Dillon (view profile)

oscar escarcega

Ok, I am a Linux user too =), but i need to used your app in a windows machine =(. Do you have the contact of Andrew Smith? I could ask for some support directly!

Comment only
31 Oct 2011 sharedmatrix SHAREDMATRIX Allows any Matlab object to be shared between Matlab sessions (w/o using file I/O). Author: Joshua Dillon

Joshua Dillon (view profile)

Joshua Dillon

Joshua Dillon (view profile)

Hi Oscar. Sorry I do not. I don't even have access to a windows machine so it is unlikely that I will be able to obtain this information even in the foreseeable future. If you figure it out though, please do share it with us! :)

Comment only
31 Oct 2011 sharedmatrix SHAREDMATRIX Allows any Matlab object to be shared between Matlab sessions (w/o using file I/O). Author: Joshua Dillon

Joshua Dillon (view profile)

oscar escarcega

Hello Joshua! Do you have some examples of the Andrew Smith´s windows version working the server on cpp and the client on matlab? is It possible?

Comment only
28 Sep 2011 semaphore This mex file provides an interface with the POSIX semaphore functionality. Author: Joshua Dillon

Joshua Dillon (view profile)

Wouter

Wouter (view profile)

5
19 Jul 2011 sharedmatrix SHAREDMATRIX Allows any Matlab object to be shared between Matlab sessions (w/o using file I/O). Author: Joshua Dillon

Joshua Dillon (view profile)

Joshua Dillon

Joshua Dillon (view profile)

Hey Dan--thanks for the feedback and letting us know about this trick--this is very useful! (I believe this is also confirmed by Przemyslaw's observations.)

On the next update I will add this example to the comments.

Thanks again for the feedback Dan and everyone else. Hopefully we can keep improving shared memory support!

Speaking of which--to any willing to take on the task... There should be a way to make sharedmatrix work better by having it follow and update the reference-to list in the mxArray data structure. This would make sharedmatrix variables behave more like "regular" variables. This is probably the currently most useful feature enhancement. Please email me if you're interested in helping!

Comment only
19 Jul 2011 sharedmatrix SHAREDMATRIX Allows any Matlab object to be shared between Matlab sessions (w/o using file I/O). Author: Joshua Dillon

Joshua Dillon (view profile)

dan

dan (view profile)

Joshua, thank you for this routine. It's a godsend.

When writing to a shared variable inside a parfor loop I found I couldn't use shared_x=y I had to use shared_x(1:end)=y(1:end). Like this:

sharedmatrix('clone', x_key, x); clear x;
parfor 1:10
local_x = sharedmatrix('attach', x_key);
local_y = rand(size(local_x));

% THIS DOES NOT WORK
local_x = local_y;

% but this does
local_x(1:end) = local_y(1:end);

end; %end parfor

I assume this has to do with the mysteries of MATLAB copy-on-write. Anyway just wanted to post this important tip.

ps. This is Matlab r2010b on Linux x64.

5
05 Jul 2011 sharedmatrix SHAREDMATRIX Allows any Matlab object to be shared between Matlab sessions (w/o using file I/O). Author: Joshua Dillon

Joshua Dillon (view profile)

Joshua Dillon

Joshua Dillon (view profile)

Hi Przemyslaw. You are exactly correct in your observation and I'm surprised someone didn't complain about this sooner! :) In fact, this issue affected me when I was working with a 16gb cell array.

I designed it this way because I *somehow* didn't think of this simple and elegant solution! (I think because I was so focused on avoiding disk usage.) What I will do for simplicity and generality is have a killclone directive which dumps the data to disk, frees it, and loads it into shm.

I will play with alloc idea too. I avoided this orginally because I was concerned that there are too many matlab internals to support--however I could at lease provide a two-dimensional double container.

I will commit these changes as soon as I have a free moment! (Which could be a >month as I am trying to graduate.)

I do want to note that for the meantime, the current program is still acceptable. Letting the system do the swapping is effectively the same, just that it will involve one extra read from disk that isn't necessary.

I was able to load a 16gb cell into a 24gb machine (sharedmatrix would need 32gb) by letting it thrash for 20min or so. I then left the matrix in memory for the next two weeks!.

Comment only
29 Jun 2011 sharedmatrix SHAREDMATRIX Allows any Matlab object to be shared between Matlab sessions (w/o using file I/O). Author: Joshua Dillon

Joshua Dillon (view profile)

Przemyslaw

Hi Joshua. I really appreciate Your piece of code. I plan to use it in near future but i see one prospective drawback that could be potentially simply to overcome (i hope at least).
I mean if you want to work on really large amount of data that there is a moment when you need to store in memory two copies of it.

C = rand(13000,13000);
shmkey=1234567;
shmsiz=sharedmatrix('clone',shmkey,C);% double memory usage
clear C; %until this moment

Is it possible to add a directive like 'alloc' or something in this way to allocate a matrix in a SHM?
To fill it with data from file (f.e) so one wouldn't have two copies of the data - so swapping wouldn't be necessary.
so it could work like this

shmkey=1234567;
[C,shmsiz]=sharedmatrix('alloc',shmkey,[13000 13000],'double');
C(:,:) = rand(13000,13000);

Comment only
05 Jun 2011 sharedmatrix SHAREDMATRIX Allows any Matlab object to be shared between Matlab sessions (w/o using file I/O). Author: Joshua Dillon

Joshua Dillon (view profile)

Joshua Dillon

Joshua Dillon (view profile)

Hi Guy. As far as either of us could tell, Windows does not natively have shared memory. As I am not a Windows user though, I could be wrong.

I had hoped that we could design a platform independent version, however even within Boost the shared memory API is Windows specific.

Comment only
05 Jun 2011 sharedmatrix SHAREDMATRIX Allows any Matlab object to be shared between Matlab sessions (w/o using file I/O). Author: Joshua Dillon

Joshua Dillon (view profile)

guy katz

I have a question:
when And Andrew implemented the SharedMemory function why he use boost and did not use the shared memory function of windows?

Comment only
01 Jun 2011 sharedmatrix SHAREDMATRIX Allows any Matlab object to be shared between Matlab sessions (w/o using file I/O). Author: Joshua Dillon

Joshua Dillon (view profile)

guy katz

5
31 May 2011 sharedmatrix SHAREDMATRIX Allows any Matlab object to be shared between Matlab sessions (w/o using file I/O). Author: Joshua Dillon

Joshua Dillon (view profile)

Binlin Wu

Josh, thank you for your emails. The code is working now for vectors. It's not critical if it works for scalar or not.

This is a great program and will be very helpful.

5
26 May 2011 sharedmatrix SHAREDMATRIX Allows any Matlab object to be shared between Matlab sessions (w/o using file I/O). Author: Joshua Dillon

Joshua Dillon (view profile)

Joshua Dillon

Joshua Dillon (view profile)

Submitted new version. Turns out you cannot share a scalar (Alen Wu) and I committed the "open_or_create" change (Guy Katz).

Comment only
07 May 2011 sharedmatrix SHAREDMATRIX Allows any Matlab object to be shared between Matlab sessions (w/o using file I/O). Author: Joshua Dillon

Joshua Dillon (view profile)

Joshua Dillon

Joshua Dillon (view profile)

Thanks Guy for your feedback and correction--I will make the change and upload the fix.

Comment only
07 May 2011 sharedmatrix SHAREDMATRIX Allows any Matlab object to be shared between Matlab sessions (w/o using file I/O). Author: Joshua Dillon

Joshua Dillon (view profile)

guy katz

I am sorry my mistake there is nothing wrong with the code. It is work fine.
Although there is one thing in the part of the "clone" change from
pSegment = new windows_shared_memory(create_only, segment_name, read_write, sm_size);
to
pSegment = new windows_shared_memory(open_or_create, segment_name, read_write, sm_size);
and it will be more easy to work with the code.
tanhx

Comment only
07 May 2011 sharedmatrix SHAREDMATRIX Allows any Matlab object to be shared between Matlab sessions (w/o using file I/O). Author: Joshua Dillon

Joshua Dillon (view profile)

guy katz

I use the windows version of sharedmatrix
the SharedMemory. It seems that SharedMemory still crash when I try to attach multidimensional array.
Can some one help me.
I use the last version of SharedMemory.
Any way it is still grate function.
thank's ahead

Comment only
15 Apr 2011 sharedmatrix SHAREDMATRIX Allows any Matlab object to be shared between Matlab sessions (w/o using file I/O). Author: Joshua Dillon

Joshua Dillon (view profile)

Joshua Dillon

Joshua Dillon (view profile)

Just a heads up--I introduced a regression bug which is now solved. It should only affect sparse matrices, and probably only a cell array of sparse matrices at that.

Comment only
09 Apr 2011 sharedmatrix SHAREDMATRIX Allows any Matlab object to be shared between Matlab sessions (w/o using file I/O). Author: Joshua Dillon

Joshua Dillon (view profile)

Joshua Dillon

Joshua Dillon (view profile)

Dan--thanks for exploring this. Understanding memory statistics in *nix is indeed very difficult and I am certainly no expert! Be assured though, that the object is being shared and not copied despite top's reporting (writing to a shared matrix also verifies this).

I have uploaded a version which incorporates Andrew Smith's code for structs (should be available on Apr. 11). I also made several bug fixes and code cleaning. I hope this has not introduced any new bugs--unfortunately I have not had time to do extensive testing so please let me know if something doesn't work right!

I did not update the help info. This version really does support every Matlab object! Note however, that write support doesn't always work on cells or structs--only a simple matrix has guaranteed read/write support between processes. Every other object is only guaranteed to have read support.

Comment only
26 Mar 2011 sharedmatrix SHAREDMATRIX Allows any Matlab object to be shared between Matlab sessions (w/o using file I/O). Author: Joshua Dillon

Joshua Dillon (view profile)

dan

dan (view profile)

Further tests reveal... yes, top includes shared memory in its report of each process's RES and VIRT usage.

Joshua this may be worth a mention in the documentation.

Comment only
25 Mar 2011 sharedmatrix SHAREDMATRIX Allows any Matlab object to be shared between Matlab sessions (w/o using file I/O). Author: Joshua Dillon

Joshua Dillon (view profile)

dan

dan (view profile)

Another VERY grateful user; thank you for this contribution!

But in my tests and monitoring using top it seems that each parfor process creates a local copy of the shared global variable. Does 'top' include shared memory when reporting each process' RAM use?

Here's my test:

matlabpool('open');
C = rand(13000,13000);
shmkey=1234567;
shmsiz=sharedmatrix('clone',shmkey,C);
clear C;

parfor i = 1:5, MyTest(shmkey, i); end;

sharedmatrix('free',shmkey);

And MyTest.m():

function MyTest( shmkey, threadID )

pC = sharedmatrix('attach',shmkey);

%% This operation should not require a local copy of pC since it should be read-only.
result = nnz(pC);
result = result * threadID;
whos('pC'); % reports 1.3gb
disp(result);

sharedmatrix('detach',shmkey,pC);
clear pC;

end

When I run this test and monitor it using top, it shows each worker MATLAB process momentarily using >1gb of RAM.

Is this an artifact of 'top' -- does top report process memory inclusive of shared memory it's accessing? Or does nnz(x) actually create a local copy of x in each worker?

5
18 Feb 2011 sharedmatrix SHAREDMATRIX Allows any Matlab object to be shared between Matlab sessions (w/o using file I/O). Author: Joshua Dillon

Joshua Dillon (view profile)

Joshua Dillon

Joshua Dillon (view profile)

Thanks to the awesome efforts of my new colleague Andrew Smith, we now support structs and multidimensional objects. Through Boost::Interprocess it is also platform independent! Thanks Andrew!

Stay tuned for the new release!

Comment only
24 Jan 2011 Matlab Daemon A Bash script & Mex program which allows for #!-style scripting against a background Matlab session. Author: Joshua Dillon

Joshua Dillon (view profile)

Joshua Dillon

Joshua Dillon (view profile)

The script is available here:
http://www.almostsure.com/matlabd

Comment only
24 Jan 2011 Matlab Daemon A Bash script & Mex program which allows for #!-style scripting against a background Matlab session. Author: Joshua Dillon

Joshua Dillon (view profile)

Joshua Dillon

Joshua Dillon (view profile)

The script is available here:
http://www.almostsure.com/mytoolbox/utility/kill/matlabd

Comment only

Contact us