Error using . Unrecognized table variable name 'load_g_'.

조회 수: 5 (최근 30일)
Artis
Artis 2025년 4월 15일
댓글: Walter Roberson 2025년 4월 15일
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