Error using . Unrecognized table variable name 'load_g_'.

2 次查看(过去 30 天)
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 个评论
Stephen23
Stephen23 2025-4-15
"How do I fix it?"
Make sure that BendingData contains a variable/column/field named load_g_.
Walter Roberson
Walter Roberson 2025-4-15
When you did the readtable() did you use VariableNamingRule 'preserve' ?

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Tables 的更多信息

产品


版本

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by