如何给在matlab中使用电影播放器播放的视频命名
how to give title to video played using movie player in matlab
在我的项目中,我想使用 matlab 函数 implay()
播放多个视频。在matlab中,可以使用命令title
来区分数字。是否有类似的方法可以将标题附加到使用 implay
创建的视频?
获取 implay
object 的句柄。它的parent就是这个数字。因此,将 parent 的 'Name'
属性 设置为所需的标题:
load cellsequence %// example taken from `implay`'s help
h = implay(cellsequence,10); %// call `implay` and get a handle
set(h.Parent, 'Name', 'Write your title here') %// set title
结果(在 Matlab R2010b 中)是:
在我的项目中,我想使用 matlab 函数 implay()
播放多个视频。在matlab中,可以使用命令title
来区分数字。是否有类似的方法可以将标题附加到使用 implay
创建的视频?
获取 implay
object 的句柄。它的parent就是这个数字。因此,将 parent 的 'Name'
属性 设置为所需的标题:
load cellsequence %// example taken from `implay`'s help
h = implay(cellsequence,10); %// call `implay` and get a handle
set(h.Parent, 'Name', 'Write your title here') %// set title
结果(在 Matlab R2010b 中)是: