File Exchange > Data Connector >    MATLAB Connector

Author:
OriginLab Technical Support
Date Added:
1/30/2019
Last Update:
5/7/2024
Downloads (90 Days):
709
Total Ratings:
4
File Size:
25 KB
Average Rating:
File Name:
MATLAB Connector.opx
File Version:
1.22
Minimum Versions:
License:
Free
Type:
App
Summary:

Connect to matlab file

Screen Shot and Video:
Description:

PURPOSE
This app can be used to import MATLAB's version 7 or earler mat file, from a file or website. It can connect to the source file, when the source is changed, the imported data in Origin is also updated. Origin 2019b or later, required. 

INSTALLATION

  • This App is pre-installed in Origin. You can launch it from the Data menu or from the App icon on the Connector tab of the Apps Gallery, located at the right-side of the Origin workspace.
  • If you do not see the menu command or App icon, click Data: Connect to File: Add New.... The App Center opens listing only Connector Apps. Click the Download and Install button to install an App.

OPERATION

  1. With the worksheet or matrix sheet active, click on the Data menu. If you are connecting to a file on your PC or network, click Connect to File: MATLAB. If you are connecting to a web file, choose Data: Connect to Web: MATLAB. Choose a file or enter a URL and click OK.
  2. In the Data Connector Browser dialog, all variables in the mat file are listed as a tree. There is a column on the right of each variable to indicate where each variable can be imported, and options include WorksheetMatrix sheet or both. Double-click on the variable or click on the Down button to add the vairable to the imported list. Click OK button, selected variables in the file will be imported in Origin's worksheet or matrix sheet.
  3. Once a connector is added, click the connector icon in the upper-left corner of the book to open a popup menu with various commands.
  4. By default, connector-imported data are NOT saved with the project file. To save a book's data with the project file, click the connector icon in the upper-left corner for that book and uncheck Exclude Imported When Saving. Note that each book has its own Exclude setting.

NOTES

  1. Some MATLAB's variable types are not supported in this App: e.g. string array, table array, dataset array, array of date and time values.
  2. For MATLAB's version 7.3 mat file on Origin 2019b, a prompt will be shown to suggest using Origin's HDF Connector App.
  3. In Origin 2020 and higher versions, it can support HDF5-based mat files, i.e. MATLAB's version 7.3 mat file.

Updates:

v1.22 5/7/2024 Fixed bug of Use an embedded Matrixbook or Worksheet Columns.
v1.18 10/31/2022 Fixed reimport bugs.
v1.16 5/6/2022 Fixed bug of failing to import large size file.
v1.15 4/8/2021 Improved speed, supported editing selected string.
v1.13 10/21/2020 Supported date time variable.
v1.12 4/17/2020 Supported data navigator.
v1.1 10/23/2019 Supported HDF5-based mat files.

Reviews and Comments:
07/11/2022noisse@very good !

04/11/2022wangsong960414good

07/06/20218431891nothing

09/10/2020HaoZhanguseless app cannot rate more than 1