1
这个问题是建立在此前一个问题'here'
我想在图像上制作256个点,所有这些导致基于*位置的不同pdf文档。我不想在256个独立的文件路径中编码。我已经尝试了下面的一些代码,至今还没有运气。在Matlab中插入多个链接到图像中?
for i = 1:256
text(x(i),y(i),'*', 'ButtonDownFcn',['open(''' file ''');']);
end
function [filePath] = file()
%h = impoint;
%position = getPosition(h);
filePath = strcat('C:\Documents and Settings\Sentinelle\Desktop\LCModel\sl5_knt1\sl5_',x(1),'-',y(i),'.pdf');
end