The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
 All Forums
 Origin Forum
 Origin Forum
 Update workbook of .mat type?

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
en_muh@yahoo.com Posted - 12/05/2016 : 02:06:37 AM
OriginPro version 2016 (64-bit) b.9.3.226.

I have created an Origin Project with many subfolders and different workbooks, the source files are Matlab files (.mat).
I have updated my Matlab files and want to update the Origin Project.
Is there any direct way to do that?
I tried to use "Re-Import" and "Re- Import Directly" but none of them work.
Also if I try to change each workbook manually it will be very time-consuming.

Thanks in advance.
1   L A T E S T    R E P L I E S    (Newest First)
Echo_Chu Posted - 12/07/2016 : 12:35:00 AM
Hi,

I am afraid that Origin does not support re-import Matlab Files yet.

However, if all your files are still in the same folder as what they was imported in Origin, you can try the script below. it loops all worksheets in a project, find out the imported matlab file and re-import it from the saved path.


//loop all worksheet in the project
doc -e W  
{
   string strpath$=%(%H, @W,SYSTEM.IMPORT.FILENAME$); //read the path of imported file in worksheet
   wclear msg:=0; //clear worksheet
   impMatlab fname:=strpath$; //re-import the file
}




Echo
OriginLab Technical Support

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000