NEWFCN

newfcn does create a M-Files based function with creation information.

您现在正在关注此提交

编者注: This file was selected as the MATLAB Central Pick of the Week

>> newfcn('MyNewFcn') creates a M-File having the entered filename and a specific structure which helps for creating the main function structure. It would be opened and the starting line for writting will be highlighted (Only available in R14 or higher).

The actual working MATLAB Version will be also captured. If user forgot to enter code and execute the function, he will get a reminder to enter code in the function.

NEWFCN, NEWSL, NEWXPC and NEWFCN_RENAME are a set of M-Functions which shold help the MATLAB User to create Functions, Simulink and xPC Target based Models in a quick Way.

Enjoy and thx for your Feedback!

引用格式

Frank González-Morphy (2026). NEWFCN (https://ww2.mathworks.cn/matlabcentral/fileexchange/6408-newfcn), MATLAB Central File Exchange. 检索时间: .

致谢

启发作品: InsertHeader

类别

Help CenterMATLAB Answers 中查找有关 File Operations 的更多信息

一般信息

MATLAB 版本兼容性

  • 兼容任何版本

平台兼容性

  • Windows
  • macOS
  • Linux
版本 已发布 发行说明 Action
1.0.0.0