How do I resolve this error?

1 件のコメント

Mathieu NOE
Mathieu NOE 2022 年 3 月 9 日
編集済み: Mathieu NOE 2022 年 3 月 9 日
hello
probably simply wrong syntax in your function parameters (e.g dim is a vector so values must be between brackets, )
should be
function('ballons... .yuv',[1024 768],8)

サインインしてコメントする。

回答 (1 件)

DGM
DGM 2022 年 3 月 9 日

0 投票

Which error? I see a number of errors in the function definition and console.
This looks like you took a function you found somewhere and you simply replaced the argument list and an assortment of variables with literals. That breaks it.
Revert the file to its original condition and then call the function with the desired parameters.
myfile = 'im_not_retyping_a_picture_of_code.yuv';
frsize = [1024 768];
frstep = 8;
divide_seq(myfile,frsize,frstep);

カテゴリ

ヘルプ センター および File ExchangeData Import and Analysis についてさらに検索

製品

リリース

R2017b

質問済み:

2022 年 3 月 9 日

回答済み:

DGM
2022 年 3 月 9 日

Community Treasure Hunt

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

Start Hunting!

Translated by