<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title><![CDATA[PsyBuilder - 心科测试 - Bug report]]></title>
		<link>https://www.psybuilder.com/</link>
		<description><![CDATA[PsyBuilder - 心科测试 - https://www.psybuilder.com]]></description>
		<pubDate>Thu, 30 Apr 2026 13:44:17 +0000</pubDate>
		<generator>MyBB</generator>
		<item>
			<title><![CDATA[在EEG实验打mark遇到的报错问题]]></title>
			<link>https://www.psybuilder.com/showthread.php?tid=44</link>
			<pubDate>Mon, 12 May 2025 14:45:13 +0800</pubDate>
			<dc:creator><![CDATA[<a href="https://www.psybuilder.com/member.php?action=profile&uid=834">sieg</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.psybuilder.com/showthread.php?tid=44</guid>
			<description><![CDATA[您好，我按照教程的内容给我的实验刺激打上stimulus trigger，Pulse dur 我填的也是10ms，但是么会报出以下错误，请问可能是什么原因呢<br /><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.psybuilder.com/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=20" target="_blank" title="">aa84a4be5c8ba83ae35ccbff2187f60.png</a> (Size: 5.29 KB / Downloads: 8)
<!-- end: postbit_attachments_attachment -->]]></description>
			<content:encoded><![CDATA[您好，我按照教程的内容给我的实验刺激打上stimulus trigger，Pulse dur 我填的也是10ms，但是么会报出以下错误，请问可能是什么原因呢<br /><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.psybuilder.com/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=20" target="_blank" title="">aa84a4be5c8ba83ae35ccbff2187f60.png</a> (Size: 5.29 KB / Downloads: 8)
<!-- end: postbit_attachments_attachment -->]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[if条件的报错]]></title>
			<link>https://www.psybuilder.com/showthread.php?tid=37</link>
			<pubDate>Tue, 25 Feb 2025 19:42:14 +0800</pubDate>
			<dc:creator><![CDATA[<a href="https://www.psybuilder.com/member.php?action=profile&uid=834">sieg</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.psybuilder.com/showthread.php?tid=37</guid>
			<description><![CDATA[<div style="text-align: justify;" class="mycode_align">您好，我一直想用builder实现一个if条件，就是如果被试信息填male显示一种图片，被试信息填female显示另一种图片。但是每次用matlab进行实验读写到这块if就会出现如下图报错。我只能手动搜索if条件并替换成if strcmp的时候似乎就能运行。以下是我用ai搜到的代码。</div>
<div style="text-align: justify;" class="mycode_align"> </div>
<div style="text-align: justify;" class="mycode_align">if strcmp(subInfo.gender, 'male')</div>
<div style="text-align: justify;" class="mycode_align">    % 显示男性图片</div>
<div style="text-align: justify;" class="mycode_align">    imshow(maleImage);</div>
<div style="text-align: justify;" class="mycode_align">else</div>
<div style="text-align: justify;" class="mycode_align">    % 显示女性图片</div>
<div style="text-align: justify;" class="mycode_align">    imshow(femaleImage);</div>
end<br /><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.psybuilder.com/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=16" target="_blank" title="">1b1fab637cfd22f9bcc07f04656cb59.png</a> (Size: 4.77 KB / Downloads: 1)
<!-- end: postbit_attachments_attachment --><br /><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.psybuilder.com/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=17" target="_blank" title="">8117b6b9d09ef31bce541382b9c7be7.png</a> (Size: 24.6 KB / Downloads: 1)
<!-- end: postbit_attachments_attachment -->]]></description>
			<content:encoded><![CDATA[<div style="text-align: justify;" class="mycode_align">您好，我一直想用builder实现一个if条件，就是如果被试信息填male显示一种图片，被试信息填female显示另一种图片。但是每次用matlab进行实验读写到这块if就会出现如下图报错。我只能手动搜索if条件并替换成if strcmp的时候似乎就能运行。以下是我用ai搜到的代码。</div>
<div style="text-align: justify;" class="mycode_align"> </div>
<div style="text-align: justify;" class="mycode_align">if strcmp(subInfo.gender, 'male')</div>
<div style="text-align: justify;" class="mycode_align">    % 显示男性图片</div>
<div style="text-align: justify;" class="mycode_align">    imshow(maleImage);</div>
<div style="text-align: justify;" class="mycode_align">else</div>
<div style="text-align: justify;" class="mycode_align">    % 显示女性图片</div>
<div style="text-align: justify;" class="mycode_align">    imshow(femaleImage);</div>
end<br /><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.psybuilder.com/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=16" target="_blank" title="">1b1fab637cfd22f9bcc07f04656cb59.png</a> (Size: 4.77 KB / Downloads: 1)
<!-- end: postbit_attachments_attachment --><br /><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.psybuilder.com/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=17" target="_blank" title="">8117b6b9d09ef31bce541382b9c7be7.png</a> (Size: 24.6 KB / Downloads: 1)
<!-- end: postbit_attachments_attachment -->]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[关于拉丁方和ABBA设置的报错问题]]></title>
			<link>https://www.psybuilder.com/showthread.php?tid=36</link>
			<pubDate>Sat, 18 Jan 2025 13:30:22 +0800</pubDate>
			<dc:creator><![CDATA[<a href="https://www.psybuilder.com/member.php?action=profile&uid=834">sieg</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.psybuilder.com/showthread.php?tid=36</guid>
			<description><![CDATA[<hr class="mycode_hr" />
<hr class="mycode_hr" />
您好，我发现很多时候在设置Block Loop中，拉丁方会报错。比如：我在BlockLoop里面设置了四种timeline任务条件，我想实现被试间的四个任务顺序的平衡。但是如果我在divisor number这里填写4，就会出现如下报错，错误使用 vertcat，要串联的数组的维度不一致。如果我填24的话，又会出现语句没有匹配的 END的错误。如果是两个任务实现被试间ABBA也会出现类似的情况。<br /><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.psybuilder.com/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=15" target="_blank" title="">1737177575697.png</a> (Size: 13.84 KB / Downloads: 1)
<!-- end: postbit_attachments_attachment --><br /><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.psybuilder.com/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=14" target="_blank" title="">1737180775330.png</a> (Size: 38.69 KB / Downloads: 3)
<!-- end: postbit_attachments_attachment -->]]></description>
			<content:encoded><![CDATA[<hr class="mycode_hr" />
<hr class="mycode_hr" />
您好，我发现很多时候在设置Block Loop中，拉丁方会报错。比如：我在BlockLoop里面设置了四种timeline任务条件，我想实现被试间的四个任务顺序的平衡。但是如果我在divisor number这里填写4，就会出现如下报错，错误使用 vertcat，要串联的数组的维度不一致。如果我填24的话，又会出现语句没有匹配的 END的错误。如果是两个任务实现被试间ABBA也会出现类似的情况。<br /><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.psybuilder.com/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=15" target="_blank" title="">1737177575697.png</a> (Size: 13.84 KB / Downloads: 1)
<!-- end: postbit_attachments_attachment --><br /><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.psybuilder.com/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=14" target="_blank" title="">1737180775330.png</a> (Size: 38.69 KB / Downloads: 3)
<!-- end: postbit_attachments_attachment -->]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[多次打开psybuilder后会出现卡死的状况]]></title>
			<link>https://www.psybuilder.com/showthread.php?tid=35</link>
			<pubDate>Wed, 15 Jan 2025 12:48:41 +0800</pubDate>
			<dc:creator><![CDATA[<a href="https://www.psybuilder.com/member.php?action=profile&uid=834">sieg</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.psybuilder.com/showthread.php?tid=35</guid>
			<description><![CDATA[我用了一周的psybuilder后，突然出现打不开软件的情况，并且一打开就卡死，完全没法操作了，卸载重装也是一样，请问这是什么情况<br /><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.psybuilder.com/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=11" target="_blank" title="">1736916423142.png</a> (Size: 134.67 KB / Downloads: 5)
<!-- end: postbit_attachments_attachment -->]]></description>
			<content:encoded><![CDATA[我用了一周的psybuilder后，突然出现打不开软件的情况，并且一打开就卡死，完全没法操作了，卸载重装也是一样，请问这是什么情况<br /><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.psybuilder.com/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=11" target="_blank" title="">1736916423142.png</a> (Size: 134.67 KB / Downloads: 5)
<!-- end: postbit_attachments_attachment -->]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[无法正常使用视频插件]]></title>
			<link>https://www.psybuilder.com/showthread.php?tid=31</link>
			<pubDate>Sat, 13 Aug 2022 14:10:39 +0800</pubDate>
			<dc:creator><![CDATA[<a href="https://www.psybuilder.com/member.php?action=profile&uid=521">zzz</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.psybuilder.com/showthread.php?tid=31</guid>
			<description><![CDATA[无法正常使用视频插件，显示如下报错：<br />
<hr class="mycode_hr" />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>未定义函数或变量 'Video_4Ptr'。<br />
<br />
出错 foodvideo (line 143)<br />
Screen('PlayMovie', Video_4Ptr, 1.0);</code></div></div><br />
<hr class="mycode_hr" />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>&nbsp;&nbsp;&nbsp;&nbsp;% Really start to handle movie file in widget Video_4<br />
&nbsp;&nbsp;&nbsp;&nbsp;Video_4_sMTime = 00/1000; <br />
&nbsp;&nbsp;&nbsp;&nbsp;Video_4_eMTime = 9999999/1000; <br />
&nbsp;&nbsp;&nbsp;&nbsp;[Video_4_mPtr,Video_4_mDur, ~,Video_4_ImgW, Video_4_ImgH] = Screen('OpenMovie',winIds(1), fullfile(cFolder,'Joe.mp4') );<br />
&nbsp;&nbsp;&nbsp;&nbsp;Screen('SetMovieTimeIndex', Video_4_mPtr, Video_4_sMTime); % skip the first n seconds<br />
&nbsp;&nbsp;&nbsp;&nbsp;Screen('PlayMovie', Video_4Ptr, 1.0);<br />
&nbsp;&nbsp;&nbsp;&nbsp;Video_4_dRect = makeImDestRect_APL(Video_4_fRect, [Video_4_ImgW, Video_4_ImgH], 0);</code></div></div><br /><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.psybuilder.com/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=5" target="_blank" title="">1.png</a> (Size: 13.17 KB / Downloads: 1)
<!-- end: postbit_attachments_attachment --><br /><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.psybuilder.com/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=6" target="_blank" title="">2.png</a> (Size: 33.47 KB / Downloads: 0)
<!-- end: postbit_attachments_attachment -->]]></description>
			<content:encoded><![CDATA[无法正常使用视频插件，显示如下报错：<br />
<hr class="mycode_hr" />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>未定义函数或变量 'Video_4Ptr'。<br />
<br />
出错 foodvideo (line 143)<br />
Screen('PlayMovie', Video_4Ptr, 1.0);</code></div></div><br />
<hr class="mycode_hr" />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>&nbsp;&nbsp;&nbsp;&nbsp;% Really start to handle movie file in widget Video_4<br />
&nbsp;&nbsp;&nbsp;&nbsp;Video_4_sMTime = 00/1000; <br />
&nbsp;&nbsp;&nbsp;&nbsp;Video_4_eMTime = 9999999/1000; <br />
&nbsp;&nbsp;&nbsp;&nbsp;[Video_4_mPtr,Video_4_mDur, ~,Video_4_ImgW, Video_4_ImgH] = Screen('OpenMovie',winIds(1), fullfile(cFolder,'Joe.mp4') );<br />
&nbsp;&nbsp;&nbsp;&nbsp;Screen('SetMovieTimeIndex', Video_4_mPtr, Video_4_sMTime); % skip the first n seconds<br />
&nbsp;&nbsp;&nbsp;&nbsp;Screen('PlayMovie', Video_4Ptr, 1.0);<br />
&nbsp;&nbsp;&nbsp;&nbsp;Video_4_dRect = makeImDestRect_APL(Video_4_fRect, [Video_4_ImgW, Video_4_ImgH], 0);</code></div></div><br /><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.psybuilder.com/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=5" target="_blank" title="">1.png</a> (Size: 13.17 KB / Downloads: 1)
<!-- end: postbit_attachments_attachment --><br /><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.psybuilder.com/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=6" target="_blank" title="">2.png</a> (Size: 33.47 KB / Downloads: 0)
<!-- end: postbit_attachments_attachment -->]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[双屏显示会报错，无法指定在某个显示器上运行实验程序]]></title>
			<link>https://www.psybuilder.com/showthread.php?tid=30</link>
			<pubDate>Thu, 14 Jul 2022 11:36:24 +0800</pubDate>
			<dc:creator><![CDATA[<a href="https://www.psybuilder.com/member.php?action=profile&uid=508">lansettt</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.psybuilder.com/showthread.php?tid=30</guid>
			<description><![CDATA[output devices， screen_o的device index无论选择1还是2都无法运行。按下面提示，在.m文件中添加Screen('Preference', 'SkipSyncTests', 1) 后，可以运行，但一开始会显示感叹号。<br />
<br />
而且运行后，程序画面显示也不完整。<br />
<br />
<br />
<br />
WARNING: Couldn't compute a reliable estimate of monitor refresh interval! Trouble with VBL syncing?!?<br />
<br />
<br />
----- ! PTB - ERROR: SYNCHRONIZATION FAILURE ! -----<br />
<br />
One or more internal checks (see Warnings above) indicate that synchronization<br />
of Psychtoolbox to the vertical retrace (VBL) is not working on your setup.<br />
<br />
This will seriously impair proper stimulus presentation and stimulus presentation timing!<br />
Please read 'help SyncTrouble' for information about how to solve or work-around the problem.<br />
You can force Psychtoolbox to continue, despite the severe problems, by adding the command<br />
Screen('Preference', 'SkipSyncTests', 1); at the top of your script, if you really know what you are doing.<br />
<br />
<br />
<br />
<br />
WARNING: This session of your experiment was run by you with the setting Screen('Preference', 'SkipSyncTests', 1).<br />
WARNING: This means that some internal self-tests and calibrations were skipped. Your stimulus presentation timing<br />
WARNING: may have been wrong. This is fine for development and debugging of your experiment, but for running the real<br />
WARNING: study, please make sure to set Screen('Preference', 'SkipSyncTests', 0) for maximum accuracy and reliability.]]></description>
			<content:encoded><![CDATA[output devices， screen_o的device index无论选择1还是2都无法运行。按下面提示，在.m文件中添加Screen('Preference', 'SkipSyncTests', 1) 后，可以运行，但一开始会显示感叹号。<br />
<br />
而且运行后，程序画面显示也不完整。<br />
<br />
<br />
<br />
WARNING: Couldn't compute a reliable estimate of monitor refresh interval! Trouble with VBL syncing?!?<br />
<br />
<br />
----- ! PTB - ERROR: SYNCHRONIZATION FAILURE ! -----<br />
<br />
One or more internal checks (see Warnings above) indicate that synchronization<br />
of Psychtoolbox to the vertical retrace (VBL) is not working on your setup.<br />
<br />
This will seriously impair proper stimulus presentation and stimulus presentation timing!<br />
Please read 'help SyncTrouble' for information about how to solve or work-around the problem.<br />
You can force Psychtoolbox to continue, despite the severe problems, by adding the command<br />
Screen('Preference', 'SkipSyncTests', 1); at the top of your script, if you really know what you are doing.<br />
<br />
<br />
<br />
<br />
WARNING: This session of your experiment was run by you with the setting Screen('Preference', 'SkipSyncTests', 1).<br />
WARNING: This means that some internal self-tests and calibrations were skipped. Your stimulus presentation timing<br />
WARNING: may have been wrong. This is fine for development and debugging of your experiment, but for running the real<br />
WARNING: study, please make sure to set Screen('Preference', 'SkipSyncTests', 0) for maximum accuracy and reliability.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[loop中变量引用是不是不能直接使用E-prime里面list的变量引用方法]]></title>
			<link>https://www.psybuilder.com/showthread.php?tid=11</link>
			<pubDate>Sun, 30 Jan 2022 19:11:26 +0800</pubDate>
			<dc:creator><![CDATA[<a href="https://www.psybuilder.com/member.php?action=profile&uid=450">Jingqing</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.psybuilder.com/showthread.php?tid=11</guid>
			<description><![CDATA[<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.psybuilder.com/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=2" target="_blank" title="">微信图片_20220130190720.png</a> (Size: 68.51 KB / Downloads: 25)
<!-- end: postbit_attachments_attachment -->]]></description>
			<content:encoded><![CDATA[<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.psybuilder.com/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=2" target="_blank" title="">微信图片_20220130190720.png</a> (Size: 68.51 KB / Downloads: 25)
<!-- end: postbit_attachments_attachment -->]]></content:encoded>
		</item>
	</channel>
</rss>