フィルターのクリア

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 Center および File ExchangeLogical についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by