フィルターのクリア

Creating backwards compatible p-code for teaching purposes

2 ビュー (過去 30 日間)
Will Dampier
Will Dampier 2013 年 7 月 22 日
I am teaching some matlab classes and we have some version-ing issues ... some students use versions as old as 2008b and some of the computers in the lab have versions as old as 2007a (or as new as 2012b). I want to create some pcode files which will run on all of these versions ... that way they can check their results without seeing the actual code that created them.
I know that Matlab 2013a (the version I use daily) can operate pcode files made from any previous version but the older versions can't run pcode made with my computer.
Is there any way to create backwards compatible pcode files? I know I can just find the oldest version and make a pcode on that computer and distribute it ... but that's really annoying.
Thanks, Will

採用された回答

Jan
Jan 2013 年 7 月 22 日
編集済み: Jan 2013 年 7 月 22 日
[EDITED] Your question has been exhaustively answered in the thread . Therefore the creation of my answer here wasted my time. This is exactly the reason why cross-posting in disliked in forums. Please do not do this. And if you have a really good reason, add at least a link to the other forum, respectively. Thanks.
Please notice that the P-files conceal the contents of the function, but it is not complicated to find out, what's going on inside. So do try to hide confidential information in a P-file.
  1 件のコメント
Will Dampier
Will Dampier 2013 年 7 月 22 日
Excellent! The students are smrt not smart. I doubt they could figure out the code from just input/output pairs ... if one of them could then they deserve the A+.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeProgramming についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by