James, > Just to precise there are 4 single ' characters inside the brackets > in fprintf('''') statement. Making that change did the track. Thanks! Cheers, Andreas