私は正常に動作するmatlabファイルを持っています、
オートコーダーで変換しようとしているのですが、エラーが出て、
??? Subscripting into an empty matrix is not supported.
ct = 0;
while i <= 1800
[xx, cc, vv] = doSomething(x, somevalue, Param1, dt);
%things happening ...
if something
flowDt(ct+1) = vv;
ct = ct + 1;
end
end
エラーが発生したため、ループの前に宣言しようとしました:
??? Undefined function or variable 'flowDt'.'
flowDt = [];
ct = 0;
while i <= 1800
[xx, cc, vv] = doSomething(x, somevalue, Param1, dt);
%things happening ...
if something
flowDt(ct+1) = vv;
ct = ct + 1;
end
end
今、私はこの問題の原因がわからないままになっています:
??? Subscripting into an empty matrix is not supported.