Error using . Unrecognized table variable name 'load_g_'.

14 Ansichten (letzte 30 Tage)
Artis
Artis am 15 Apr. 2025
Kommentiert: Walter Roberson am 15 Apr. 2025
This is the code, along with the error code:
%% Import the data before running this code
% This code is for bending analysis.
% Calculate the force from the load
BendingData.Force = 9.81.*BendingData.load_g_./1000; %unit: Newton
Error using _._ Unrecognized table variable name 'load_g_'.
How do I fix it?
  2 Kommentare
Stephen23
Stephen23 am 15 Apr. 2025
"How do I fix it?"
Make sure that BendingData contains a variable/column/field named load_g_.
Walter Roberson
Walter Roberson am 15 Apr. 2025
When you did the readtable() did you use VariableNamingRule 'preserve' ?

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Tables finden Sie in Help Center und File Exchange

Produkte


Version

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by