MATLAB Answers

export interactive 3D stem plot

조회 수: 1(최근 30일)
Stephen Devlin
Stephen Devlin 12 Jan 2018
답변: Rik 12 Feb 2018
Hi,
I have looked online for ways to share a Matlab 3D plot and keep it interactive, I have a stem plot (could plot it as a scatter) and it looks like most of the methods for sharing only use mesh/surf etc. Is there a way to do it without the person having to have a Matlab license?
Best regards
Steve

  댓글 수: 0

로그인 to comment.

답변(1개)

Rik
Rik 12 Feb 2018
There are 2.5 main ways of sharing Matlab code with people without Matlab and still keeping it interactive.
  1. Compile your project to an executable. This requires you to have a valid license for the coder toolbox, and will (always or in general) require the end use to install the MCR (Matlab Runtime Compiler) for the version you used to compile your project. They can be big (>500MB), but they are free to use under most circumstances (you should always check if you intend to sell your work). Last time I did something like this, I had the option to include the MCR in the 'setup' for my program.
  2. Use GNU Octave. This will require debugging and means you can't obfuscate your code. It is free, so you can freely distribute it, but it is almost always slower, has less functions, has more bugs and sometimes requires downloading and installing another package to access more advanced functions. 'Nothing is free' is something you will notice if you use Octave, but it can be a really good option under some circumstances.
  3. Compile your project to an executable with Octave. This combines most of the downsides of both previous methods, but if you really want to, you can do it.
There may be other options, but these are the main, easily accessible ways to share an interactive 3D plot.

  댓글 수: 0

로그인 to comment.

이 질문에 답변하려면 로그인을(를) 수행하십시오.


Translated by