Error using . Unrecognized table variable name 'load_g_'.

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 commentaires

"How do I fix it?"
Make sure that BendingData contains a variable/column/field named load_g_.
When you did the readtable() did you use VariableNamingRule 'preserve' ?

Connectez-vous pour commenter.

Réponses (0)

Catégories

Produits

Version

R2023a

Question posée :

le 15 Avr 2025

Commenté :

le 15 Avr 2025

Community Treasure Hunt

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

Start Hunting!

Translated by