Colorbar giving error in GMTmex

I am using GMT6 on xyz data within MATLAB; everything seems okay except the colorbar. Without the colorbar error, it plots perfectly.The error message is: “MATLAB [ERROR]: Shared GMT module not found: colorbar”. Can someone help a brother please? The attachment is the code I wrote:

@richannan Please do not post screen captures, Just copy your code and put it under a pair of triple backticks ```

Using colorbar works for me but I have GMTdev and maybe we fixed some problem related to it (there have been tons of fixes after 6.0).

You can try a very recent GMT build from

@Joaquim thank you very for the response. I will check the link up. Big-ups for the good works