I love this vscode extension, makes Matlab a lot more enjoyable!
As the title says, I was hoping to be able to configure a startup or preload script. Maybe have the user point to a file on their local machine and Matlab Terminal will simply run that file right after it starts up for the first time.
The reason this would be useful is it allows me to import toolboxes once at initialization then freely use its functions as long as the Matlab terminal is open. (a workaround of course is to use a try/catch to test if functions exist and if not then import a toolbox, but I would have to have this code at the beginning of every file I use, hence this feature request)
It should also be possible to set the file setting per workspace and globally (probably two different settings).
I'll leave this in your hands, or whoever wants to take up the challenge.
thanks :)
That's a great idea! It will be complicated for me to tackle this right now but if someone is motivated I would be happy to merge a pull request, otherwise I may get to it someday.
Hi,
I love this vscode extension, makes Matlab a lot more enjoyable!
As the title says, I was hoping to be able to configure a startup or preload script. Maybe have the user point to a file on their local machine and Matlab Terminal will simply run that file right after it starts up for the first time.
The reason this would be useful is it allows me to import toolboxes once at initialization then freely use its functions as long as the Matlab terminal is open. (a workaround of course is to use a try/catch to test if functions exist and if not then import a toolbox, but I would have to have this code at the beginning of every file I use, hence this feature request)
It should also be possible to set the file setting per workspace and globally (probably two different settings).
I'll leave this in your hands, or whoever wants to take up the challenge. thanks :)