can anyone say why its coming error at 168 line ? please suggest me?
조회 수: 4 (최근 30일)
이전 댓글 표시
%Calcul des coeff des polynomes p21 & p32
%pressure and temperature measurements at different levels.
[residus_montant,Stat_montant] = Calcul_Coef_21_32(SN,'montant',table_pression_kPa_montant,P_montant,T_montant);
[residus_descendant,Stat_descendant] = Calcul_Coef_21_32(SN,'descendant',table_pression_kPa_descendant,P_descendant,T_descendant);
%calculates the coefficients for a third scenario, labeled "full", which likely refers to the entire data set
[residus_full,Stat_full] = Calcul_Coef_21_32(SN,'full',table_pression_kpa,P,T);
error :
Error: File: Calcul_Coef_21_32.m Line: 1 Column: 3
Function definitions are not permitted in this context.
Error in extract_palier_P0_P21_P32_montant_descendant (line 168)
[residus_montant,Stat_montant] = Calcul_Coef_21_32(SN,'montant',table_pression_kPa_montant,P_montant,T_montant);
Error in autom_P0_montant_descendant (line 6)
Res =
extract_palier_P0_P21_P32_montant_descendant('SN2124009_Calib_2022-04-07','C:\Users\FX625040\Documents\Stage\Scripts
Matlab\P0\capteur2125011.txt',...
댓글 수: 2
Rishav
2023년 5월 2일
Hi md sazzad,
Can you provide the complete code, so that I can have a look at it and see what is the cause of this error?
Regards,
Rishav Saha
Walter Roberson
2023년 5월 2일
In particular we need to see the first two lines of Calcul_Coef_21_32.m
I suspect that you have at least one extra character before a function statement.
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!