change function to script to save variables
2 次查看(过去 30 天)
显示 更早的评论
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 个评论
Matt Gaidica
2020-12-19
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.
回答(1 个)
Cris LaPierre
2020-12-19
This is a gui (created in GUIDE). You cannot change it to a script without breaking the gui.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Create Large-Scale Model Components 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!