hyperlink from one *.m file to another *.m file

1 visualización (últimos 30 días)
Megha
Megha el 13 de Abr. de 2018
Comentada: Megha el 13 de Abr. de 2018
I have 5 matlab code files and I want to go to 2nd file *.m after I run 1st *.m file. So, is it possible to jump from one matlab code to another by putting a hyperlink at the end of 1st file?

Respuesta aceptada

Walter Roberson
Walter Roberson el 13 de Abr. de 2018
No, hyperlinks are not supported.
However, you can just put the name of the second script at the end of the first script.
script1.m
plot(1:10, rand(1,10));
script2
script2.m
disp('got to script 2')
  3 comentarios
Stephen23
Stephen23 el 13 de Abr. de 2018
@Megha: use absolute/relative paths rather than cd. cd is slow, makes debugging harder, and can cause different functions to be accessible to MATLAB.
Megha
Megha el 13 de Abr. de 2018
@ Stephen Cobeldick : Sure! Thank you :)

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Get Started with MATLAB en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by