How to fix "Unable to plot GSA empty result"

3 visualizzazioni (ultimi 30 giorni)
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"

Risposta accettata

Florian Augustin
Florian Augustin il 2 Set 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 Commenti
Florian Augustin
Florian Augustin il 3 Set 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
Loc
Loc il 3 Set 2025
Hello,
I just figured it out, thank you for the information!

Accedi per commentare.

Più risposte (0)

Community

Più risposte nel  SimBiology Community

Categorie

Scopri di più su Perform Sensitivity Analysis in Help Center e File Exchange

Prodotti


Release

R2025a

Community Treasure Hunt

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

Start Hunting!

Translated by