Making a section in Python like Matlab
Mostrar comentarios más antiguos
Hello, I am a Matlab user and these days, I am working with Python. I don't know in which community that I should ask questions relating to this.
My questions is in Matlab, in a file, we can sectionalize by using '%%' and run each section separately. How do I sectionalize in Python and run the sections seperately?
Can someone answer this question. It will be a big help.
Respuesta aceptada
Más respuestas (1)
Govind KM
el 9 de Jun. de 2023
0 votos
I don't think there is any equivalent functionality in Python. Maybe you can make a function for each section and run the required parts by just running the current line of code.
Categorías
Más información sobre Call Python from MATLAB en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
