编译错误:若要在64位系统上使用,则必须更新此项目中的代码。。。。

在matlab中使用notebook时,出现如下编译错误:
编译错误:若要在64位系统上使用,则必须更新此项目中的代码。。。。_第1张图片

解决方案:

将红色字体部分替换成以下内容即可

#If Win64 Then
    Private Declare PtrSafe Sub sleepp Lib "kernel32.dll" Alias "Sleep" (ByVal dwMilliseconds As LongLong)
    Private Declare PtrSafe Function DeleteUrlCacheEntry Lib "wininet" Alias "DeleteUrlCacheEntryA" (ByVal lpszUrlName As String) As LongLong
#Else
    Private Declare Sub sleepp Lib "kernel32.dll" Alias "Sleep" (ByVal dwMilliseconds As Long)
    Private Declare Function DeleteUrlCacheEntry Lib "wininet" Alias "DeleteUrlCacheEntryA" (ByVal lpszUrlName As String) As Long
#End If

你可能感兴趣的:(matlab)