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 Center および File ExchangeTables についてさらに検索

製品


リリース

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by