Undefined function or variable "TimeStamps"
Ältere Kommentare anzeigen
Hi everyone,i really need help with my masters thesis. I need to post process video from a high speed camera in order to find out the penetration of jet flow thorugh nozzle. I dont have much experience with Matlab. I am using Sandia Laboroties algorithm to solve it. there is an example in it that how to solve for it. The example is working with the code. The files which is of interest is aviVSD.m and readcin.m. The example file is bklda183short.cine
[time,vapPen,tan2,JB,maxV] = aviVSD('C:\Users\User\Documents\MATLAB\schlierenProcessCodeECN12-11\bklda183short.cine',12:48,[32 130],[0 2500],[0.45 0.55],[3 0 511 0 0 60 1 2 1/5.4 0 8 50 0 1 1 -1 1 23]);
it is working as it stated in the program, But i have having difficulty apply this code to my experiment. The code is too big to check what is wrong here, but the error which i am getting are
Undefined function or variable "TimeStamps".
Error in readcin (line 340)
ImageData.TimeStamps=TimeStamps;
Error in aviVSD (line 82) imdata = readcin(cineFilePath,[1,1]);
the function i am using to solve is
[time,vapPen,tan2,JB,maxV] = aviVSD('C:\Users\User\Documents\MATLAB\Final Images\test\test.cine',2:10,[0 0],[0 2500],[0.45 0.55],[3 0 0 0 0 500 0 0 0 0.101 0 2 80 1 1 -1 1 2.58309])
so i tried to see where TimeStamps have been defined but unofrunately got no luck with that.
example file has framerate of 3.8023e04 while my file has framrate of 1000. May be its because of this, Anyways if someone can help me with thi that would be great. I know it will require little time. Thanks
1 Kommentar
Gopichandh Danala
am 9 Jun. 2017
From the error, it simply says "TimeStamps" is not available. In function 'readcin' line-340, when it tried to evaluate:
ImageData.TimeStamps=TimeStamps
The structure ImageData doesn't have any field by the name 'TimeStamps'.
I suggest you put a breakpoint at line 340 in function- 'readcin'. run the code again and when it stops at breakpoint click on ImageData structure to check if it has a field by name TimeStamps.
Maybe your file didn't have this field (TimeStamp) in your file whereas the original file had it
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Computer Vision with Simulink finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!