Windows Matlab to Linux Matlab

조회 수: 7 (최근 30일)
Rom
Rom 2013년 8월 6일
I am going to switch from Windows Matlab to Linux Matlab. WIll I be able to run my old m-files on the linux matlab?

답변 (2개)

dpb
dpb 2013년 8월 6일
Again as another poster asked very similar query, up to the point they use OS-specific features or such things as COM interfaces to Excel or the like.
Base Matlab and toolboxes at equivalent rev levels are pretty much compatible but obviously the OS you're operating on and what one is trying to do in the m-files can make a big difference.
  댓글 수: 1
Walter Roberson
Walter Roberson 2013년 8월 6일
Not all toolboxes are available for all operating systems.

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


Jan
Jan 2013년 8월 7일
When the M-code uses the function to avoid system dependencies already, there are only tiny differences. Most of all files and paths should not be hard coded, commands like fullfile, filesep, pathsep, userpath etc solves these problems.
User defined MEX files must be recompiled and tested.
Some OS dependencies cannot be avoided like getting environment variables or slightly different appearances of GUI elements, installed fonts, different rounding effects for numerical computations and the API behavior (e.g. under Linux the window under the mouse can get the focus without a click and without getting to the front).

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by