what does "Undefined function 'f_integration' for input arguments of type 'double' " mean

1 view (last 30 days)
Trying to run this script but this error continues to pop up.
a1_1= 0;
b1_1=10000;
a2_1=0;
b2_1=0;
h_1=2;
ele_rotation_1=0;
F_1 = f_integration(h_1,a1_1,b1_1,a2_1,b2_1,ele_rotation_1);
K_1 = K_matrix(A,E,I,h_1,ele_rotation_1);
  1 Comment
Amy Sanchez
Amy Sanchez on 12 Nov 2019
Completed error message:
Undefined function 'f_integration' for input arguments of type 'double'.
Error in Quiz111 (line 14)
F_1 = f_integration(h_1,a1_1,b1_1,a2_1,b2_1,ele_rotation_1);

Sign in to comment.

Accepted Answer

KALYAN ACHARJYA
KALYAN ACHARJYA on 12 Nov 2019
Edited: KALYAN ACHARJYA on 12 Nov 2019
Because f_integration & K_matrix are not Matlab inbuilt functions, hence you have to defined both function file in the same directory to run the code.
These functions known as user defined functions or customized functions by user. Where you get the idea to use these two functions? Please do search in Matlab Exchange file, may be there.

More Answers (1)

Walter Roberson
Walter Roberson on 12 Nov 2019
It means that MATLAB cannot find a function or variable named f_integration
There is no MATLAB function by that name, and I cannot find a useful function by that name anywhere on the Internet.

Categories

Find more on Search Path in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!