Borrar filtros
Borrar filtros

Running code as previous version

6 visualizaciones (últimos 30 días)
Leon
Leon el 10 de Jun. de 2012
Hi
I've been working on a fairly large program in Matlab 2010b and I need to demonstrate it on my supervisor's computer. He's running 2008 and wont update for various reasons -- recently I've made judicious use of the ~ feature as a input/output to a function because I think it's awesome but obviously it causes compatibility issues.
Is there a way I can run my code "as 2008" so the compiler picks up errors for me to quickly fix?
Alternatively can anyone think of a way around this, given that I can't use if(ver === etc. ) in method definitions?
Cheers
Leon
  1 comentario
per isakson
per isakson el 10 de Jun. de 2012
I'm pretty sure there is no quick fix. Can't you bring a laptop to the demonstration?

Iniciar sesión para comentar.

Respuesta aceptada

per isakson
per isakson el 10 de Jun. de 2012
Not so quick fix.
Find in Files "~," and replace by the string, "dummy", or better do the same with a more powerful editor.
Then you might find there are other compatibility problems.
  1 comentario
Leon
Leon el 11 de Jun. de 2012
Yeah that's the answer I was dreading. I guess this is how old versions go about refusing to die.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Matrix Indexing en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by