NEWFCN

newfcn does create a M-Files based function with creation information.
2.3K Downloads
Updated 30 Nov 2004

No License

Editor's Note: 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!

Cite As

Frank González-Morphy (2024). NEWFCN (https://www.mathworks.com/matlabcentral/fileexchange/6408-newfcn), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on File Operations in Help Center and MATLAB Answers
Acknowledgements

Inspired: InsertHeader

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0