The following Matlab project contains the source code and Matlab examples used for simple semaphore implementation wrapping around matlab's waitfor. .
Matlab has a waitfor function but it only works if you have a figure handle, leading to some somewhat out-of-place code if you want to use it with callbacks.

The source code and files included in this project are listed in the project files section, please make sure whether the listed source code meet your needs there.

## Project Files:

File Name | Size |
---|---|

license.txt | 1310 |

Semaphore.m | 1440 |