Effacer les filtres
Effacer les filtres

Creating backwards compatible p-code for teaching purposes

2 vues (au cours des 30 derniers jours)
Will Dampier
Will Dampier le 22 Juil 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

Réponse acceptée

Jan
Jan le 22 Juil 2013
Modifié(e) : Jan le 22 Juil 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 commentaire
Will Dampier
Will Dampier le 22 Juil 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+.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Programming dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by