Azzera filtri
Azzera filtri

Can I modify a matlab Built in Function like "nwalign"

16 visualizzazioni (ultimi 30 giorni)
The "nwalign" do a global alignment with Needleman Wunch algorithm of 2 DNA sequence input (or any other data type) by comparing them and do specific steps (delete, insert, mutation) and calculate the minimum edit distance to finally getting the 2 sequences as mush as similar to each other by minimum number of editing
the question is: can I know internally what the function does it Matlab and modify these steps of the function

Risposta accettata

Diwakar Ravichandran
Diwakar Ravichandran il 8 Ago 2018
Yes, you can edit the code by typing edit function_name in your command window as per your requirement. However, it is advised that you keep a copy of the original function in case you want to revert back.
Hope this helps, Cheers!
  2 Commenti
Stephen23
Stephen23 il 8 Ago 2018
Modificato: Stephen23 il 8 Ago 2018
I recommend that you do NOT edit the MATLAB file once you open it: instead immediately make a copy of it to your own user folder, and edit the copy only. You should rename the copy as well, then you can continue to use the original function too!

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Oceanography and Hydrology in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by