Dependencies in Matlab App Designer to specific PC
5 views (last 30 days)
Show older comments
I am currently a student using MATLAB app designer (in version r2019a) for my final year project. I have been directed to this forum from my IT technicians who are not experts in MATLAB and cannot resolve this issue.
Mostly, I have opened and run my app through my personal laptop (Macbook Air) but as my app has become larger and larger, my laptop can no longer sustain running and more often than not crashes within 5 minutes - not ideal for 10 hour days working.
When attempting to run on university computers, the app designer editor will generally load up okay, but when I select 'Run', the icon greys out (as if it were loading) and nothing ever appears on the screen, even if left for hours to run solely that task.
I have tried this on many computers with the same outcome. My university also offers remote access to different computers, which I have tried with the same result (while using the remote access from another university computer).
However, the only time I can get the application to appear (other than with my laptop where it is too slow to support), is when I remote access a windows university computer through my laptop, this works on any remote accessed computer including the ones where it would not run when being accessed directly.
This works as a tempory solution but given I will be working on this code for another 5 months, with the file getting larger and larger it is far from ideal. Using remote access from my laptop is painfully slow to navigate and therefore edit code.
IT support thinks that there may be a cross dependency between my code and my personal laptop, without understanding how or why.
I'm not sure whether that is jargon on his part or whether this will mean anything to people on here who have vastly more experience than me.
Has anyone ever encountered this type of issue before? It seems strange to me that it would work when being remote accessed from one computer but not when being remote accessed from another.
Would anyone have any idea where I could even start to think about resolving this? As I mentioned, I am only a student (of engineering rather than anything computing based) and therefore I would not describe myself as competent with things like this.
I would attach my code, but it is approximately 16,000 lines long, I'm not sure that would be concise for this forum (and I may get problems with academic misconduct for sharing work).
Thanks in advance,
George
8 Comments
Mario Malic
on 11 Feb 2021
MATLAB itself is quite RAM hungry, so with App Designer and that many components, that might be an issue.
I am not sure about the cause of grey button, but this could be the reason. Once you start your app in App Designer, it'll first load all the components, and set them to their positions and so on, and then on the second pass it might adjust the details of each component, like UITable columns width etc.
I can't add much to this question anymore, hope you'll get it resolved without upgrading your laptop.
Answers (0)
See Also
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!