image thumbnail
from 2D random paths generator integrating leg's contraints by Sebastien PARIS
Generates random 2D leg'paths from departure to arrival integrating leg's constraints

mexme_path_generator2.m
try  

echo on
mex path_generator2.c
mex dijkstra.c
mex inpoly.c
echo off

catch exception
    if(~isempty(exception))
        fprintf(['\n Error during compilation, be sure to:\n'...
            'i)  You have C compiler installed (prefered compiler are MSVC/Intel/GCC)\n'...
            'ii) You did "mex -setup" in matlab prompt before running mexme_path_generator2\n']);
    end
end

Contact us at files@mathworks.com