Given a Matlab table that contains many `NaN`, how can I write this table as an excel or csv files where the NaN are replaced by blanks?

I use the following function:

```
T = table(NaN(5,2),'VariableNames',{'A','C'})

writetable(T, filename)

```

**I do not want to replace it with zeros**. I want that the output file:

1. has blanks for NaN and
2. that the variable names are included in the output.