Azzera filtri
Azzera filtri

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

3 visualizzazioni (ultimi 30 giorni)
%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 Commenti
Rishav
Rishav il 2 Mag 2023
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 il 2 Mag 2023
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.

Accedi per commentare.

Risposte (0)

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by