Borrar filtros
Borrar filtros

Using functions from previous MATLAB versions

1 visualización (últimos 30 días)
AM
AM el 1 de Feb. de 2016
Comentada: AM el 4 de Feb. de 2016
I recently upgraded from ver. 2014b to 2015b. The readtable function has changed in the process, and has resulted in me needing to change my code. I'd like to avoid changing this or doing a version check unless I have to. I still have 2014b installed; is it possible to just use the old version of readtable? When I open the file, it only gives me the comments for documentation purposes. Naturally, this question applies to all functions that one may have to do this with.

Respuesta aceptada

Walter Roberson
Walter Roberson el 1 de Feb. de 2016
You would have to put that old version on the path before the current version, which would probably end up putting other things on the path first as well, and the errors tend to cascade. But it might not be too bad in this case; the relevant directory is
fullfile(matlabroot, 'toolbox', 'matlab', 'datatypes', '@table')
... which you would need to do relative to the old version in order if you were wanting to import it.
  1 comentario
AM
AM el 4 de Feb. de 2016
I ended up just changing my code, since I didn't want to "break" anything. I marked this as an answer anyways though, since it did address the question at hand.
TY

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Logical 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