Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

same set of data, same scripts, same MATLAB version, one on Windows run but Ubuntu doesn't...

1 vue (au cours des 30 derniers jours)
Quang Thinh
Quang Thinh le 26 Août 2015
Clôturé : MATLAB Answer Bot le 20 Août 2021
This has been a problem I have for the last few days. I have been using MATLAB R2015a on Ubuntu, and my partners on Windows/OSX. We have been collaborating some pieces of code until lately, my MATLAB, the one on Ubuntu, gives an error of
Index exceeds matrix dimensions.
while the others' doesn't say such (theirs are from Windows/OSX). Funny how, after I decide to dual boot Windows on my machine, the scripts also run smoothly on Windows 8.1. We use the exact same scripts, same input data, and same MATLAB version.
This seems more like a bug to Ubuntu release of MATLAB to me. But does anyone have any suggestions of what could be the cause?
Thanks,

Réponses (1)

Steven Lord
Steven Lord le 26 Août 2015
Post the line of code where the error occurs (as well as a couple lines before) and post details (sizes, classes, etc.) about any variables and/or functions used on those lines.

Cette question est clôturée.

Community Treasure Hunt

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

Start Hunting!

Translated by