matlab pdist2mex,pdist用法

博主遇到在MATLAB 7.0环境下使用pdist函数计算57600行2列矩阵行向量间距离时遭遇Segmentation Violation错误。寻求帮助,希望大神指点如何修复MEX文件问题并提供详细步骤报告给MathWorks。
摘要由CSDN通过智能技术生成

该楼层疑似违规已被系统折叠 隐藏此楼查看此楼

我有一个57600行2列的矩阵,想用pdist函数求此矩阵任意两个行向量的距离,可是运行时出现了这样的错误:

---------------------------------------------------------------------

Segmentation violation detected at Thu Dec 24 16:50:50 2015

------------------------------------------------------------------------

Configuration:

MATLAB Version: 7.0.0.19920 (R14)

Operating System: Microsoft Windows 2000

Window System: Version 5.0 (Build 2195)

Processor ID: x86 Family 6 Model 12 Stepping 3, GenuineIntel

Virtual Machine: Java 1.4.2 with Sun Microsystems Inc. Java HotSpot(TM) Client VM

(mixed mode)

Default Charset: ibm-1386_P100-2002

Can't dump stack

This error was detected while a MEX-file was running. If the MEX-file

is not an official MathWorks function, please examine its source code

for errors. Please consult the External Interfaces Guide for information

on debugging MEX-files.

If it is an official MathWorks function, please

follow these steps in reporting this problem to The MathWorks so

that we have the best chance of correcting it:

1. Send this crash report to segv@mathworks.com for automated analysis.

For your convenience, this information has been recorded in:

C:\Users\dell1\AppData\Local\Temp\matlab_crash_dump.2808

2. Also, if the problem is reproducible, send the crash report to

support@mathworks.com along with:

- A specific list of steps that will reproduce the problem

- Any M, MEX, MDL or other files required to reproduce the problem

- Any error messages displayed to the command window

A technical support engineer will contact you with further information.

Thank you for your assistance. Please save your workspace and restart

MATLAB before continuing your work.

Error in ==> pdist at 186

Y = pdistmex(X',dist,additionalArg);

有什么解决办法吗?请大神赐教,小女子跪拜!

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值