필터 지우기
필터 지우기

Strange Behavior of Version

조회 수: 2 (최근 30일)
Ritankar Sahu
Ritankar Sahu 2021년 1월 2일
댓글: Ritankar Sahu 2021년 1월 3일
Hello,
I am using matlab for study purpose. I have standalone version installed in my desktop, and when I am out of home, I use the online version. Today I experienced a peculiar error which is "computer('arch')" is showing my computer version as Linux 64 bit while I am having Win 10 64 bit installed in my laptop. I couldn't find any documentation on such a problem. Hence I am requesting the exparts if there is something can be done to resolve it. Thank you in advance.
-- Ritankar
output: [str,maxsize,endian] = computer
str =
'GLNXA64'
maxsize =
2.8147e+14
endian =
'L'
ispc
ans =
logical
0
isunix
ans =
logical
1

채택된 답변

Steven Lord
Steven Lord 2021년 1월 2일
Are you running that in MATLAB Online or in the version you have installed locally on your Windows machine? When I run in MATLAB Online or through MATLAB Answers computer correctly indicates MATLAB is running on a Linux machine.
[str,maxsize,endian] = computer
str = 'GLNXA64'
maxsize = 2.8147e+14
endian = 'L'
  댓글 수: 3
Walter Roberson
Walter Roberson 2021년 1월 3일
I see in the documentation that protected models permitted different kinds of execution effective in different releases. I see that execution in Normal simulation mode (no code generation required) became available for models created in R2018b or later. The implication would be that any model older than that would have been protected to work only through code generation, and a code-generated version would be platform specific I suspect. This does not promise that new enough versions that permit simulation are not platform specific: I have no information about that at the moment... but versions older than do not appear to have any chance of platform independence if I am reading the document correctly.
Ritankar Sahu
Ritankar Sahu 2021년 1월 3일
Hi Walter,
Thank you for the reply. I suspected that too but wasn't so sure. Yeah the model was created with 2015a. It's pretty old actually. And also it generates code when I run in stand alone installed Matlab. Thank you once again!! Have a nice day!
-- Ritankar

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by