Transfer to IDL

6 visualizaciones (últimos 30 días)
Jacob Brinkmann
Jacob Brinkmann el 22 de Dic. de 2011
Comentada: AmazingJessie el 23 de Dic. de 2020
Dear smart people,
I would like to know if there are ways to export my MATLAB workspace variables over to IDL?
Thanks in advance, JJ MATLAB r2010b

Respuestas (3)

Sukuchha
Sukuchha el 22 de Dic. de 2011
write your variable in a txt file and read it in idl !

Walter Roberson
Walter Roberson el 22 de Dic. de 2011
No-one seems to have bothered to build an interface that goes either way (or at least no-one seems to have mentioned having built one.)
Some examples of using the low-level functions within MATLAB and IDL are shown here
A program that claims to convert IDL source to MATLAB is at http://mac.softpedia.com/get/Math-Scientific/IDL2Matlab.shtml but I have never looked at it. I know that isn't what you are looking for, but it is one of the most common IDL / MATLAB questions.

Andrew
Andrew el 21 de Feb. de 2014
The GUI program 'restore_idl' converts IDL data to matlab, so might be a good starting point to develop code to go the other way.
It is based on this unofficial description of the IDL data format.
  1 comentario
AmazingJessie
AmazingJessie el 23 de Dic. de 2020
Thanks 2333333333333333333

Iniciar sesión para comentar.

Categorías

Más información sobre Workspace Variables and MAT-Files en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by