I'm a PhD researcher at a U.S. university who has developed a new deep learning method for an application with a high potential economic impact. I have a pending patent and plan to start a company to commercialize the method. I also aim to publish the work in a relatively high impact journal, but I am worried that the editors/reviewers will require me to release my code to the public. In most cases, I believe open sharing of code in research should be done. But because I'm starting a company, I can't risk releasing my code/model to competitors. Not only will it hurt my competitive advantage, but it would also put off potential investors.
How should I proceed with publishing, given the circumstances?
Are there any examples of successful companies who navigated this path?