Running code as previous version

조회 수: 10 (최근 30일)
Leon
Leon 2012년 6월 10일
Hi
I've been working on a fairly large program in Matlab 2010b and I need to demonstrate it on my supervisor's computer. He's running 2008 and wont update for various reasons -- recently I've made judicious use of the ~ feature as a input/output to a function because I think it's awesome but obviously it causes compatibility issues.
Is there a way I can run my code "as 2008" so the compiler picks up errors for me to quickly fix?
Alternatively can anyone think of a way around this, given that I can't use if(ver === etc. ) in method definitions?
Cheers
Leon
  댓글 수: 1
per isakson
per isakson 2012년 6월 10일
I'm pretty sure there is no quick fix. Can't you bring a laptop to the demonstration?

댓글을 달려면 로그인하십시오.

채택된 답변

per isakson
per isakson 2012년 6월 10일
Not so quick fix.
Find in Files "~," and replace by the string, "dummy", or better do the same with a more powerful editor.
Then you might find there are other compatibility problems.
  댓글 수: 1
Leon
Leon 2012년 6월 11일
Yeah that's the answer I was dreading. I guess this is how old versions go about refusing to die.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by