Read data from hard disk

7 次查看(过去 30 天)
Eliska Paulikova
Eliska Paulikova 2023-3-1
Hello, I use Matlab for Image analysis, so I use it for my video experiment. I have my videos on hard disk, so every time I woul like to put it to my Matlab code, I need to first move the video from hard disk to my computer, becouse directly from hard disk it is now working.
How I can do it, is there any special code for it?
Thank you so much.
  5 个评论
Jan
Jan 2023-3-1
@Eliska Paulikova: I guess, that the external disk is slow. Then processing a video frame by frame can take a lot of time. Copying the file with copyfile to the internal disk will take some time also, but this can be less stressing, because the data are moved in one block. But actually I assume, the total time for copying and processing is almost equal as for processing the file on the external disk.
You can use the debugger and profiler to find out, what happens inside the code and where the most time is spent.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Whos 的更多信息

产品


版本

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by