function [output1, output2]=SimpleFunction2(input1, input2)
% another very simple function
% written by YW 2/2014
output1=input1.*input2;
output2=input1./input2;
function [output1, output2]=SimpleFunction2(input1, input2)
↑
错误: 此上下文中不支持函数定义。请在代码文件中创建函数。
请问报错原因,该如何修改。谢谢老师!