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 for Programming
 Forum for Origin C
 Problem with calling Matlab from OriginC

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
SvenFriedemann Posted - 02/04/2008 : 06:00:54 AM
Origin Version (Select Help-->About Origin): 7.5 SR6
Matlab Version: 7.5.0.342(R2007b)
Operating System: WinXP

Although the Matlab Console works I could not call Matlab from OriginC. Using the example given in externApps.h gives "No Matlab found".

#include <externApps.h> // this file is not included in origin.h
//////////////////////////////////////////////////////////////////
void mltest()
{
Matlab matObj;
if(!matObj)
{
out_str("No Matlab found");
return;
}
}
Regards,
Sven
3   L A T E S T    R E P L I E S    (Newest First)
SvenFriedemann Posted - 02/20/2008 : 04:57:47 AM
Unfortunately, I'm now faced with the problem of transferring matrices from Origin to matlab as already discussed http://www.originlab.com/forum/topic.asp?TOPIC_ID=4154.

Regards,

Sven

Edited by - SvenFriedemann on 02/20/2008 05:01:37 AM
SvenFriedemann Posted - 02/20/2008 : 04:03:00 AM
Hi ML,

now it works, thanks a lot.

Sven
ML Posted - 02/06/2008 : 11:11:32 AM
Hi Sven,

Try to replace the line

	Matlab		matObj; 


with the line

	Matlab		matObj(TRUE); 


ML

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