How to automatically convert a Matlab script into a Matlab function?

Published: 14/03/2018
How to automatically convert a Matlab script into a Matlab function?
Source: STACKOVERFLOW.COM

My problem is the following: I have very many (~1000) mutually calling Matlab scripts, which are very poorly written, regularly damage each other's environments and generally became unmanageable. One of the reasons I even got this problem is that I need to write a testsuite covering a big part of them. Luckily, for most of them the main criterion of 'correctness' is 'they don't crash'. Just

Read more
Related news
Comment