It works ok but there is a hitch. When I changed the audio (from an array) and called mmwrite to write the video, it changed the audio values. I used the values 1:10240 as audio and attempted to write them to a video file. It wrote the video frames but the audio was completely different.
Hi Husam.. The error was that i never was able to run the code within my code. i was however able to run it without issue in many other applications mainly for testing purposes but for this specific application it was not functioning..
Like John said, this function should only be used in very special cases where you'd write your entire code around the goto() function, like in MoDu's thesis, which is a very special code. Either that or if you just want to have some fun and explore alternative far out MATLAB functionality. That said, you didnt' even write the error, what did it say?
Thank you so much! It works!!! I totally agree with your suggestion but i'm just puzzled how i could have missed out such a simple solution and went around everywhere looking for something much more complex!!
Nevertheless.. Thanks again and Cheers!