Road (general and Segments)

hello,
I want to hardcode the Road ( general settings and segments ) into a matlab function! can anyone help me on this?