How do I resolve this error?

1 Commento

Mathieu NOE
Mathieu NOE il 9 Mar 2022
Modificato: Mathieu NOE il 9 Mar 2022
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)

Accedi per commentare.

Risposte (1)

DGM
DGM il 9 Mar 2022
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);

Categorie

Scopri di più su Data Import and Analysis in Centro assistenza e File Exchange

Prodotti

Release

R2017b

Richiesto:

il 9 Mar 2022

Risposto:

DGM
il 9 Mar 2022

Community Treasure Hunt

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

Start Hunting!

Translated by