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 Commenti

Adam
Adam il 14 Giu 2018
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"

Accedi per commentare.

 Risposta accettata

Jan
Jan il 14 Giu 2018
Modificato: Jan il 14 Giu 2018
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 Commenti

Walter Roberson
Walter Roberson il 14 Giu 2018
Modificato: Walter Roberson il 14 Giu 2018
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...
Jan
Jan il 14 Giu 2018
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.

Accedi per commentare.

Più risposte (2)

Walter Roberson
Walter Roberson il 14 Giu 2018

2 voti

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

1 Commento

Jan
Jan il 14 Giu 2018
+1, contentually correct, but take into account that not all employees have access to all source codes.

Accedi per commentare.

Categorie

Scopri di più su MATLAB in Centro assistenza e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by