Is there a way to import an Octave package into Matlab?

Is there a way to import an Octave package into Matlab? For compatibility there are some m files our team has created and wanted to verify using the Octave package in MATLAB.

1 Comment

I don't know if this is still a running issue, but I don't know if there is an easy way. You need to make sure the syntax is compatible with Matlab, which isn't a requirement for the forge. Other than that, there shouldn't be any issues copying all m files to a folder on the Matlab path.
What I do myself is just to write a tester function. If it runs, it runs.

Sign in to comment.

Answers (1)

1 Comment

That is not an answer to the question as I understand it. The OP asked about packages (collections of .m files with metadata), not about data (.mat files).

Sign in to comment.

Asked:

on 3 Sep 2019

Commented:

Rik
on 21 Nov 2021

Community Treasure Hunt

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

Start Hunting!