comment for future redesign of the matlab diagnostics. #357
hkershaw-brown
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
this is a comment for future redesign of the matlab diagnostics. there's something not right about how this was implemented if adding a new model to the diagnostics requires every .m file to have the case statement updated with the name of the model.
for example, the pinfo structure could define categories of models (e.g. 1d, 3d, etc), in addition to the model name. to add a new model that is similar to an existing one, you set the appropriate category string. then these files have a case statement on pinfo.category. as long as you're not adding a model that needs different code, you wouldn't have to change the .m files at all.
Originally posted by @nancycollins in #262 (comment)
Beta Was this translation helpful? Give feedback.
All reactions