How do I expose the code in a function .m file within Live Editor
显示 更早的评论
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.
回答(1 个)
Sean de Wolski
2017-10-13
0 个投票
Use dbtype
This also allows you to specify which lines in a function to show (skip error checking, etc).
类别
在 帮助中心 和 File Exchange 中查找有关 Desktop 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!