shinyypig / matlab-in-vscode

A vscode extension for matlab.
MIT License
45 stars 4 forks source link

Support to load local functions? #34

Closed randolfly closed 6 months ago

randolfly commented 6 months ago

Hello! Is it possible to support invoke of local functions? The scenerio is like this. It would be truely helpful to support local functions when writing codes.

image

BTW, this is a great plugin, and it really helps a lot. Thanks!

shinyypig commented 6 months ago

Running the entire .m file allows for the invocation of local functions. However, when it comes to executing a specific cell or line, I haven't yet discovered an elegant solution. Perhaps this functionality could be realized in the future.

Thank you for your valuable suggestion!

randolfly commented 6 months ago

ok, thanks for your reply!