필터 지우기
필터 지우기

Using functions from previous MATLAB versions

조회 수: 1 (최근 30일)
AM
AM 2016년 2월 1일
댓글: AM 2016년 2월 4일
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.

채택된 답변

Walter Roberson
Walter Roberson 2016년 2월 1일
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
AM
AM 2016년 2월 4일
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

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Logical에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by