simulink中matlab fcn出错
来源:学生作业帮 编辑:作业帮 分类:综合作业 时间:2024/05/17 09:30:18
simulink中matlab fcn出错
函数定义:function y =myfun(u)
%#codegen
y = u*u';
报错:The current directory is f:\program files\matlab\r2011b\bin,which is reserved for MATLAB files.
Please change your current directory to a writable directory preferably outside of MATLAB installation area.
函数定义:function y =myfun(u)
%#codegen
y = u*u';
报错:The current directory is f:\program files\matlab\r2011b\bin,which is reserved for MATLAB files.
Please change your current directory to a writable directory preferably outside of MATLAB installation area.
把工作空间设置到另外一个地方,不要设置为f:\program files\matlab\r2011b\bin,