MATLAB: I want to build a database with column and rows

access filedatabasemdbMySQL

The table should have fields
NAME …. AGE .. SALARY
ashok …. 23 …..2300
john ….. . 34 …. 3400
horis ….. 40 …. 6700
and salary is a variable 'n' which changes the salary in the database ,when n gets the value in the command window and update the database .Please suggest

Best Answer

Bikash, use table, e.g.,
NAME = {'ashok';'john';'horis'};
AGE = [23;34;40];
SALARY = [2300;3400;6700];
T = table(NAME, AGE, SALARY)