add basic pbr_create function for matlab