change function to script to save variables
Afficher commentaires plus anciens
HI
I need to convert the followoing code MinInversion.m to non-functions criopt, so that i can see its variables.
Especaially I like to see the variable X .It is GUI based code, so here is the link to how to use this script. The clicking instructoin are in the supplementary folder.This is an oil and gas well log data.
Please see link to code.
http://www.mdpi.com/2076-3263/8/2/65/s1
thanks
sal
2 commentaires
Matt Gaidica
le 19 Déc 2020
Sal, are you sure you want a script? I think the fastest way would be to use breakpoints where X appears. Alternatively, you could modify the functions so they include X as a return value and then follow it through your application.
salman abbasi
le 19 Déc 2020
Réponses (1)
Cris LaPierre
le 19 Déc 2020
0 votes
This is a gui (created in GUIDE). You cannot change it to a script without breaking the gui.
4 commentaires
Cris LaPierre
le 19 Déc 2020
Another option would be to save the variables to a *.mat file inside the gui. This way, you can access them whenever you want without having to rerun the app.
salman abbasi
le 19 Déc 2020
Cris LaPierre
le 19 Déc 2020
Modifié(e) : Cris LaPierre
le 19 Déc 2020
salman abbasi
le 20 Déc 2020
Catégories
En savoir plus sur Simulink dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!