Inoperability between Mac (Intel) and Windows
이전 댓글 표시
I am developing on a Mac. My partner is using a Windows box. We have something happen that I can't understand. It was a simple task - I wanted to select a sub portion of an array and set outside of that portion to be zero out. I defined the indices by a variable "filt". I created a zero array call it y of the proper length and set y(filt)=x(filt) where x is the original array.
It worked fine on the Mac but barfed on the Windows box. After much aggravation I tried changing the name of the index parameter to "idx_filt" and it worked fine on both.
Any explanation would be greatly appreciated. I cannot find anything on the documentation on Matlab on my Mac that indicates that "filt" might be a forbidden variable name.
댓글 수: 3
Jason Ross
2011년 4월 18일
Could you be more specific than "barfed"?
Is there sample code that replicates the problem?
Is this just working in the command window?
Jason Ross
2011년 4월 18일
Specific error messages?
Version of Windows, OSX?
Version of MATLAB on both machines?
Truman
2011년 4월 18일
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Matrix Indexing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!