Hello,
I'm currently developing a GUI with MATLAB App Designer, and now that i have it pretty much finished and debugged, when it runs on test bench (I haven't turned it to .exe yet) it works really slow. So I would like to know why this is happening. A few things that may help:
- The App connects to a CAN Bus (Connected to a BMS) via peak and to a relay pcb. From the CAN bus, it desplays all the data required using EditFields and others like Gauge.
- It also works as a little System Manager as, depending on the data inputs and the callbacks, it carries out different functionalities, such as actuing on the relays.
- The App has a lot of objects like Edit Fields, LEDs, Gauges and I am using the toolbar to have mutiple windows (a total of 9)
- It only has 4 buttons which are the only callback in the App.
- To recieve the data, display it, carrie out the different functionalities and other stuff I'm using multiple timer functions (a total of 10) that may run at the same time.
I'm guessing that, using all this stuff toghether is what makes the app work slowly, so I'd like to ask if there are any processed or procedures to make it go faster, such as using functions in different files.
Thank you very much.