I want to debug delaunay.m file to see calculation methods but there is nothing in it except description on how to use it in comments. However, function works when it is called from another file. So, how can i see source code?

2 个评论

Some Matlab functions are builtin in p-code that you cannot open and look at. It isn't open source software so some algorithms are not publicly available.
In R2018a, delaunay is not even .p -- it is "built-in"

请先登录,再进行评论。

 采纳的回答

Jan
Jan 2018-6-14
编辑:Jan 2018-6-14
So, how can i see source code?
You can't. The source code of built-in function is not provided to the customers.
[EDITED] Better: You can't - as a Matlab user.

2 个评论

Hence my reply. You see the source code by becoming staff instead of a customer.
Or you buy the company, which is a private company that is not being offered for sale, but you know what they say about offering anyone enough money...
It is much cheaper to get the source codes by stealing them. MathWorks would not be the first company which have the sources in a database, which can be accessed remotely and has bugs. But of course I do not want to encourage anybody to illegal activities.

请先登录,再进行评论。

更多回答(2 个)

Walter Roberson
Walter Roberson 2018-6-14

2 个投票

This is the way to see the source code for the delaunay implementation:

1 个评论

+1, contentually correct, but take into account that not all employees have access to all source codes.

请先登录,再进行评论。

类别

在 帮助中心 和 File Exchange 中查找有关 MATLAB 的更多信息

产品

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by