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
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum
 Origin Forum
 MATLAB console help required
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

rezahasi1

Bangladesh
Posts

Posted - 07/29/2004 :  03:31:05 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hi,
The only thing I found in matlab console that origin can import matlab workspace data into matrix if I use gr matname1. Since I can not plot 2d graph using the matrix data, I need to convert it into worksheet data...complex... Is it possible to get the MATLAB matrix data in worksheet directly?

Thanks

sammi.song

China
46 Posts

Posted - 07/30/2004 :  01:57:49 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi rezahasi1,

Yes, you can import MATLAB matrix data in worksheet directly.
When you define your matname1 data in the Matlab Console dlg, and then click the "Import..." button, another dialog box will open.
Select the matname1 in this dialog and click "Import As Worksheet" button here, a new worksheet window will be created, which is filled with your matname1 data.
Hope this's helpful for you.

Thanks,
Sammi

Edited by - sammi.song on 07/30/2004 02:01:23 AM
Go to Top of Page

rezahasi1

Bangladesh
Posts

Posted - 07/30/2004 :  08:01:42 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi, Thank you very much. I found that before. But my intention is run a matlab code so that all the data are copied to worksheet directly.

Anyway Thanks.

quote:

Hi rezahasi1,

Yes, you can import MATLAB matrix data in worksheet directly.
When you define your matname1 data in the Matlab Console dlg, and then click the "Import..." button, another dialog box will open.
Select the matname1 in this dialog and click "Import As Worksheet" button here, a new worksheet window will be created, which is filled with your matname1 data.
Hope this's helpful for you.

Thanks,
Sammi

Edited by - sammi.song on 07/30/2004 02:01:23 AM

Go to Top of Page

easwar

USA
1965 Posts

Posted - 07/30/2004 :  11:24:19 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
quote:

But my intention is run a matlab code so that all the data are copied to worksheet directly.



Hello,

One other option is to have your MATLAB code launch Origin as a COM Sever and then push the data from MATLAB directly into Origin objects such as matrices and worksheets.

If you have 7.5 SR4, you can look under
\Samples\Automation Server\MATLAB
subfolder to see an example.

Easwar
OriginLab



Edited by - easwar on 07/30/2004 11:24:52 AM
Go to Top of Page

rezahasi1

Bangladesh
Posts

Posted - 08/05/2004 :  05:37:13 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
thanks
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 © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000