필터 지우기
필터 지우기

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 CenterFile Exchange에서 Programming에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by