Hello,
If you want to use standard TELEMAC-2D with keywords BINARY DATABASE 1 FOR TIDE (or 2), you have to provide the expected format which is constituents for nodes on a cartesian and regular grid. After reading the tidal solutions, there is a step of interpolation of tidal constituents on the nodes (tidal boundary nodes for boundary conditions or every node of the domain for initial conditions) then the computation part to calculate water depth and/or velocities itself.
What do you want to do? Compute tidal constituents (H, U and V) for every tidal boundary node and prescribe water depth and velocities boundary conditions from what you have computed from TMD Matlab Toolbox?
In that case, whatever the format you use, you have to modify the current implementation of the TPXO module to jump the interpolation step and do not use the keyword BINARY DATABASE 1 FOR TIDE (or 2) as you will not be able to use it.
Hope this helps,
Chi-Tuan