Info
Cette question est clôturée. Rouvrir pour modifier ou répondre.
Some Calling Problem ...dunno what is the problem
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
>> RF_Model2(1,400,27,1.41,900,175) Error in ==> scattering_xsection at 4 global xsection_en
??? Output argument "sigma_en" (and maybe others) not assigned during call to "C:\Users\Gowtham\Desktop\Actual Code\RF Model\scattering_xsection.m>scattering_xsection".
Error in ==> RF_Model2 at 189 sigma_en = scattering_xsection(T_e);
and the calling statement was
sigma_en = scattering_xsection(T_e);
% Maxwellian-averaged electron-neutral momentum transfer (scattering) cross-section
0 commentaires
Réponses (2)
Jan
le 7 Juil 2011
The error message is clear: The output argument was not assigned inside the function. You can use the debugger to step through your code line by line to find out, why this did not happen. Without seeing the code, we have no chance to guess the reason for the problem.
Kaustubha Govind
le 7 Juil 2011
It looks like the error occurred in scattering_xsection itself (not in RF_Model2), so make sure that you assign the output variables in that function.
0 commentaires
Cette question est clôturée.
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!