Filter löschen
Filter löschen

Creating backwards compatible p-code for teaching purposes

2 Ansichten (letzte 30 Tage)
Will Dampier
Will Dampier am 22 Jul. 2013
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

Akzeptierte Antwort

Jan
Jan am 22 Jul. 2013
Bearbeitet: Jan am 22 Jul. 2013
[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 Kommentar
Will Dampier
Will Dampier am 22 Jul. 2013
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+.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Programming finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by