How do I expose the code in a function .m file within Live Editor
1 次查看(过去 30 天)
显示 更早的评论
I have placed a wrapper around my call to a function .m file. This allows me to at least document a call to a function. I want to make a Live Editor file that I can use as documentation for the function. If I can see the function code I then hope to do all the cool annotation for the function code, not the wrapper script.
0 个评论
回答(1 个)
Sean de Wolski
2017-10-13
Use dbtype
This also allows you to specify which lines in a function to show (skip error checking, etc).
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Environment and Settings 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!