Running a Django server application through MATLAB

47 views Asked by At

There is a 'Python Power Electronics' simulator built with a Django server application. The simulator runs on a local server when the 'python manage.py runserver' command is executed in the Anaconda prompt (I have created my own environment for this project in Anaconda). Using this simulator, one can create and analyze power electronic circuits—an excellent tool.

I am attempting to integrate the aforementioned simulator with MATLAB. This involves starting the server, selecting a specific simulation, and then running the simulation on 'Python Power Electronics' through a MATLAB script.

My question is: Is it possible to start the Django server through a MATLAB script and choose a specific simulation from the Simulations folder on the server?

Note: I've examined the source code of the 'Python Power Electronics' tool, a Python web framework. I have a basic understanding of the 'Run simulation' view in the views.py file, which is responsible for executing specific simulations.

Now, my primary task is to start the Django server using MATLAB code before delving into the simulation execution.

Any suggestions or answers are welcome.

0

There are 0 answers