num2str(): Use asprintf() instead of malloc()