can anyone say why its coming error at 168 line ? please suggest me?

3 次查看(过去 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
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
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 CenterFile Exchange 中查找有关 Logical 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by