How to see matlab code for any inbuilt function

8 visualizaciones (últimos 30 días)
Shilpa Sonawane
Shilpa Sonawane el 29 de En. de 2024
Comentada: Shilpa Sonawane el 31 de En. de 2024
I used bilstm layer. I want to see the code for modification. please guide.

Respuesta aceptada

Dinesh
Dinesh el 29 de En. de 2024
Hi Shilpa.
If the source code is available publicly, then you can use the following command in the MATLAB command line:
>> edit <function_name>
It will open up the file where you can either see the documentation or the source code.
If it shows documentation, then it means that the source code is unavailable publicly. For example, if you try to use the "edit sort" command, then you will see something like the following:
  7 comentarios
Walter Roberson
Walter Roberson el 30 de En. de 2024
You would have to use the custom layers interface; https://www.mathworks.com/help/deeplearning/custom-layers.html in order to write custom code for something that operates like bilstmLayer

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Introduction to Installation and Licensing en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by