error when using table with specified variable names

Hi guys im trying to join 2 variable string-array and double array by table. I already defined the variable names, but error hapened when i want to create table.

3 Comments

"but error hapened when i want to create table. "
Have you tried following the very specific advice already given in the error message?
it returns error :
Error using table
The VariableNames property must contain one name for each variable in the table.
Error in LoadInvestigation_rev1 (line 224)
section_properties = table(stringdata,doubledata,VariableNames=varnames);

Sign in to comment.

Answers (1)

Arif
Arif on 19 May 2024
Edited: Arif on 19 May 2024
already closed. i already find by my way

Categories

Products

Tags

Asked:

on 18 May 2024

Edited:

on 19 May 2024

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!