
Specifying the input names in an automatically generated matlab function
6 次查看(过去 30 天)
显示 更早的评论
Hi, I am generating a matlab function through the following command
matlabFunction(P_grad,'File',[ag_name,'Pgrad_fun'],'Vars',{x_ref, x},'Outputs',{'dP'});
The resulting function header is
function dP = Pgrad_fun(in1,in2)
while I would like to have
function dP = Pgrad_fun(x_ref,x)
Do you have any suggestions?
Note: the matlab function correctly works. I simply don't like that I don't have an informative declaration.
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!