Effacer les filtres
Effacer les filtres

throwAsCaller(ME) error

2 vues (au cours des 30 derniers jours)
Omer Iqbal
Omer Iqbal le 10 Jan 2022
Réponse apportée : Nihal le 28 Déc 2023
HI, I have encoutered the error of throwAsCaller(ME) and I am not geeting all the outputs that I am supposed to get from the fucntions. How could I get rid of this error? Please have a look on attached snapshot.
Best

Réponses (1)

Nihal
Nihal le 28 Déc 2023
Hi Omer
I understand that you are facing difficulty in finding out the error. If you're encountering an error with throwAsCaller(ME) and are not getting the expected outputs from your functions, it suggests that an exception is being thrown and caught somewhere in your code.
To resolve the issue, you'll need to do the following:
  1. Identify the Source of the Error: Check the error message provided by MATLAB when the exception is thrown. The message should give you an indication of what went wrong and where the error originated.
  2. Inspect the Call Stack: Look at the stack information provided with the error message. This will tell you the sequence of function calls that led to the error. Pay particular attention to the function listed just before throwAsCaller is called, as this is likely where the actual problem is occurring.
I hope this helps

Catégories

En savoir plus sur Get Started with MATLAB dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by