未定义与 'double' 类型的输入参数相对应的函数。

조회 수: 69 (최근 30일)
geswrum
geswrum 2023년 5월 25일
답변: qerbmce 2023년 5월 25일
function T=danyuanzhu_3_7(miu)
N=100;
L=100;
b=double(1.12);
%miu=double(1.0925);
for Q=1:1:101
ka=10*(Q-1)/100;
…… ……
运行之后结果是:未定义与 'double' 类型的输入参数相对应的函数 'danyuanzhu_3_7',请问要怎么解决?

채택된 답변

qerbmce
qerbmce 2023년 5월 25일
当前路径没有设置为这个函数所在的目录。
你可以打开这个函数,点击run按钮,如果不在这个目录它会提示你转到这个函数所在的目录的

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 搜索路径에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!