I am trying to export global tables into an excel file (created at a specific location). excelsave with modeldir() does not seem to be working.
excelcreateworkbook(); excelsetsheet("Sheet1"); excelwritenum(1,1,1); excelsave(modeldir() + "NewWorkBook.xlsx"); excelclose(1);