From command line, start editor immediately showing new function template

3 次查看(过去 30 天)
I would like to start the editor from the command line so it starts up showing the function template. Is there a way to do this?

回答(1 个)

Iain
Iain 2013-6-10
Not with a new function template, unless you generate one.
Is it really a problem for you to add:
function [result1, result2 ..., resultn, varargout] = filename(input1,input2,... inputn, varargin)
To the top of a file?

类别

Help CenterFile Exchange 中查找有关 Environment and Settings 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by