m files with function calls run non stop

Hello everyone,
I have several m files on my laptop and some of them have function calls. Those with function calls run forever even though the code is very simple. The strange thing is that when I run the same m file on my desktop, it works perfectly fine.
Do you have any ideas? Is it related to the latest windows 10 update? The same m files worked perfectly before the update.
Thank you for your help

2 Commenti

Without seeing any line of the code it is impossible to guess, what happens. Maybe the RAM of the laptop is exhausted and using the much slower disk swapping by the virtual RAM increase the run time by a factor of 1000? What exactly doe s "forever" mean?
Hi, thank you for your answer. I have resolved this issue using the update given by the link below. Apparently it is a problem with 2017b and 2018a releases caused by the 2018 windows 10 update.

Accedi per commentare.

 Risposta accettata

Steven Lord
Steven Lord il 23 Mag 2018
Are you performing symbolic calculations? If so see this Answer.
If you're not performing symbolic calculations, or you are but that doesn't resolve the problem, it's very difficult if not impossible to determine what's going on without seeing what you're doing. Please show a small sample of code with which you can reproduce the problem along with details about your laptop and desktop configurations (OS and MATLAB release on each, information about the processor may be useful as well.)

1 Commento

I have so many symbolic codes that although I said "simple code" it did have a few symbolic variables. So I downloaded the update for 2017b and now everything works. Thank you soooo much for the prompt response.

Accedi per commentare.

Più risposte (0)

Prodotti

Richiesto:

Sed
il 23 Mag 2018

Commentato:

Sed
il 23 Mag 2018

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by