How to efficiently turn octave code to matlab.

9 vues (au cours des 30 derniers jours)
emiliano alaimo
emiliano alaimo le 12 Oct 2019
Commenté : Rik le 29 Nov 2022
Hi there I'new first time matlab just buy it. But I have lots of octave codes. Pls help me with tips as per efficiently turn those codes to matlab. If not posible is like having buying matlab no purpose. Thanks!
  5 commentaires
Walter Roberson
Walter Roberson le 28 Nov 2022
Beaker, are you referring to the "computer" function?
Rik
Rik le 29 Nov 2022
Just to show the difference:
[comp, maxsize, endian] = computer (), arch = computer ("arch")
comp = 'GLNXA64'
maxsize = 2.8147e+14
endian = 'L'
arch = 'glnxa64'
And this is the output on my installed copy of Octave:
comp = x86_64-w64-mingw32
maxsize = 9.2234e+18
endian = L
arch = mingw32-x86_64
@Beaker I don't know why the descriptors are different. That is a question for the Octave developers. I do know this has been the case for a while now: Octave 4 also returns this style of output.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Octave dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by