How to fix "Unable to plot GSA empty result"
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I built a simple drug and dose model, I try to use GSA and mpgsa method, but when I finished setting up and pressed run, it says that "unable to plot gsa empty result"
0 Kommentare
Akzeptierte Antwort
Florian Augustin
am 2 Sep. 2025
Hi,
The message
"Unable to plot empty GSA results. Check if warnings were issued when running the global sensitivity analysis."
indicates that SimBiology was not able to compute GSA results. A common cause is, when using MPGSA, a misspecified classifier. Can you confirm if the Messages section at bottom of the GSA program in SimBiology Model Analyzer contains the following warning?
"Evaluation of classifier(s) <your classifier> unsuccessful. Classifier expressions must evaluate to logical vectors of the same length as the number of valid parameter samples."
If this is not the case, we need to investigate further; can you post the warnings shown in the Messages section?
If the root cause is the classifier, can you please check if the classifier is specified correctly? Here is the documentation that may help. The relevant section is
"Each classifier must evaluate to a logical vector of the same length as the number of parameter samples. [...] a classifier expression are evaluated as a matrix with columns containing time courses of the simulated quantity values. Each column represents one sample. Each row represents one output time."
The documenation also contains an example. You could also post the classfier here so we can take a look. If do not wish to post your classfier publicly, feel free to contact MathWorks Technical Support.
-Florian
3 Kommentare
Florian Augustin
am 3 Sep. 2025
Hi,
thank you for sharing the the classifier expression. There is nothing inherrently wrong about the classifier expression itself, assuming AUC_conc is a scalar observable on the model. Could you share how you are computing AUC_conc?
-Florian
Weitere Antworten (0)
Communitys
Weitere Antworten in SimBiology Community
Siehe auch
Kategorien
Mehr zu Perform Sensitivity Analysis finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!