code running differently on 2 machines
Afficher commentaires plus anciens
Hi,
I'm running code on 2 machines, 1 laptop and 1 desktop. I have an array that comes out of a loop, 'answer1', and the when I execute the code on each machine it comes out differently.
On the laptop the array is 120x1 and has values from 6.5211E-7 to 5.3847E-8. On the desktop the array is the same size bu is all zeros.
I have just noticed that several variables on the desktop version display many elements in the workspace pane, however the variables themselves do seem to contain numbers.
Anyone any ideas? I can attempt to upload code if needed.
Thanks.
1 commentaire
Jarrod Rivituso
le 21 Avr 2011
I would step through the code using the debugger to see where things start to go wrong, and then investigate from there. Sometimes, these things can be as easy as a missing file on one machine or another.
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Entering Commands dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!