The Origin Forum
File Exchange
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
 All Forums
 Origin Forum for Programming
 Forum for Automation Server/COM and LabVIEW
 Closing Origin Application using Matlab COM
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

matt_haxem

USA
4 Posts

Posted - 04/10/2018 :  9:27:10 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
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

YimingChen

228 Posts

Posted - 07/20/2018 :  5:12:01 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

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


Thanks,
Yiming
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2008 Originlab Corporation Go To Top Of Page
Snitz Forums 2000