The Origin Forum
File Exchange
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
 All Forums
 Origin Forum for Programming
 Forum for Automation Server/COM and LabVIEW
 Closing Origin Application using Matlab COM

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 HyperlinkInsert EmailInsert 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 [?]

 
   

T O P I C    R E V I E W
matt_haxem Posted - 04/10/2018 : 9:27:10 PM
Origin Ver. and Service Release (Select Help-->About Origin): Pro 2017
Operating System: Windows 7

Hello! I am almost done with my project thanks to you guys and your help, I just have one more question. I have seen how to use release() in order to allow the user to exit/close an open Origin application after saving. However, is there a command to also close an Origin Application that is currently open? This way, I can run a program through Matlab that can do things in Origin, then save the Origin project and then close the application entirely.

Thanks,

Matt
1   L A T E S T    R E P L I E S    (Newest First)
YimingChen Posted - 07/20/2018 : 5:12:01 PM
Hi,

You can try the following script:
invoke(originObj, 'Exit')


Thanks,
Yiming

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