Current folder window: how does "MATLAB Code File" differ from "Script"
显示 更早的评论
I'm puzzled by the listing in my current folder window. I hadn't noticed a file type called "MATLAB Code File" before, and I'm trying to figure out how it's different from the "Script" type. Both kinds of file contain legal top-level code split into execution cells.
I haven't found documentation of this - a pointer to relevant documentation would be most helpful.

I'm using R2013b.
3 个评论
What is in makeFigures.m?
I would suggest that Matlab simply cannot determine for some reason whether it is a function or a script or class so 'Matlab Code File' is just its default for some unidentified .m file.
Glancing through all my folders of code I can't find a single one that has that type. I just have lots of 'class', 'function' and 'script' types.
I did also attempt to create a file with that designation, but failed. Even a .m file with nothing but a comment in was classified as a script. I am running Matlab R2014b so maybe yours is different?
David Young
2014-11-13
David Young
2014-11-13
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Creating, Deleting, and Querying Graphics Objects 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!