|
|
Comments and Discussions
|
|
 |
|

|
i am creating simulink rs model for overlapped symbol. for overlapping i have to use circular shift.i have used Embedded MATLAB Function block and write following function in that.
function y = fcn(u,Shft)
%#eml
y = circshift(u,Shft);
But using this i get output like if input is 5678 and shft is 2 then output is 7856.
Input of circular shift in my project is [16320*1] in bit format. now i want to do circular shift at every 64bits row. means circular shift happen at every 64bits continuously upto 16320.not at the end of 16320.
can any one have idea regarding this.
it is urgent.
hi my name is manish
currently i am a mca student
i want to know about how to develo a project in asp.net using c# languages
i want to became a master in developig software using asp.net with chi my name is manish
currently i am a mca student
i want to know about how to develo a project in asp.net using c# languages
i want to became a master in developig software using asp.net with chi my name is manish
currently i am a mca student
i want to know about h
|
|
|
|

|
I'm getting this error after building it. The build succeeded but it prompt this message after the CmdPrompt pops out.
An unhandled exception of type 'System.TypeInitializationException' occurred in Unknown Module.
Additional information: The type initializer for '<Module>' threw an exception.
|
|
|
|
|

|
Hi
I am trying to implement data transfer by using the matlab API. but i am getting errors. right now i tried to send just one data without even defining into array and not defining the class CMATLAB. even for this application will i need that..
my code is:
#include "stdafx.h"
#include "engine.h"
#include <iostream>
#include <string>
int _tmain(int argc, _TCHAR* argv[])
{
using std::cout;
using std::cout;
int * data;
const char * t;
Engine * ep;
if (!(ep = engOpen(NULL))) {
cout <<"Matlab not open";
}
*data = 1;
engPutVariable(ep,*t,*data);
//engEvalString(ep,"plot()");
engClose(ep);
return 0;
}
I have included engine.h and matrix.h. Also all the necessary library files.
|
|
|
|

|
Hi,
i m trying to get an output value from matlab in c++ - but all i get is an adresse or the first value of my array:
this is my matlab array i would like to get in c++:
http://img3.imagebanana.com/img/wut1b4ny/contactpointmaxa.jpg[^]
this are the values im getting (view ERGEBNIS block at the end of the jpg)
http://img3.imagebanana.com/img/8dgsf5y0/ergebnis.jpg[^]
this is my code:
matlab.EvalString("[contactPointMaxA, contactPointMiddleA, contactPointMinA] = calcContactPointPlaneLagr(ebene,endeffektor1)");
contactPointMaxA = matlab.GetVariable("contactPointMaxA");
cout << "\n... ... ... Ergebnis: " << mxGetClassName(contactPointMaxA) << endl;
cout << "\n... ... ... Ergebnis: " << mxGetCell(contactPointMaxA,0) << endl;
cout << "\n... ... ... Ergebnis: " << mxGetCell(contactPointMaxA,1) << endl;
cout << "\n... ... ... Ergebnis: " << mxGetCell(contactPointMaxA,2) << endl;
cout << "\n... ... ... Ergebnis: " << mxGetPr(contactPointMaxA) << endl;
cout << "\n... ... ... Ergebnis: " << *mxGetPr(contactPointMaxA) << endl; // geht, erster value
cout << "\n... ... ... Ergebnis: " << sizeof(contactPointMaxA) << endl;
cout << "\n... ... ... Ergebnis: " << inContactPointMaxA << endl;
cout << "\n... ... ... Ergebnis: " << &inContactPointMaxA << endl;
cout << "\n... ... ... Ergebnis: " << mxGetChars(contactPointMaxA) << endl;
cout << "\n... ... ... Ergebnis: " << *mxGetChars(contactPointMaxA) << endl;
cout << "\n... ... ... Ergebnis: " << mxGetData(contactPointMaxA) << endl;
//cout << "\n... ... ... Ergebnis: " << *mxGetData(contactPointMaxA) << endl; // compilerfehler
cout << "\n... ... ... Ergebnis: " << mxGetScalar(contactPointMaxA) << endl; // geht, erster value
using the memcpy-tag ends in a runtime fatal error in visual c++. or i used it the worng way!
any ideas?
thank you!
Dabauer82
|
|
|
|

|
Hello,
i tried this:
***********************
char buffer[100] = "";
matlab.OutputBuffer(buffer, 100);
cout << "Output: " << buffer << endl;
***********************
to get the matlab outputbuffer but the variable buffer is empty at any place in my code . can somebody help me understand this function?
thank you
|
|
|
|

|
Hi,
I have written a traffic simulator based on C language, and I launch it using the Matlab engine functionality after compiling it with LCC.
Everything works well as long as I only pass single double variable from the simulator to the Matlab workspace. But I can't find a way to pass the whole Matrix, which is 28x5700.
I could not adapt the examples I have read here (using memcpy), probably I miss some background on this topic.
I have been striving against this for some weeks and any help will be very appreciated.
Thank you
Stefano.
|
|
|
|

|
I'm using UNIX platform whihc has MATLAB 2007b. My MPI FORTRAN calls MATLAB to use function "pwelch".
I'm getting following error :
*********************************************************************
terminate called after throwing an instance of 'MathWorks::System::SimpleException'
ERROR:engPutVariable
rank 5 in job 1 orville-1-8.local_39792 caused collective abort of all ranks
exit status of rank 5: return code 0
*********************************************************************
What does it mean?(memory related problem?)
How do i solve it,any idea?
Thanks in advance...
|
|
|
|

|
how to write code ROBUST EMBEDDING OF VISUAL WATERMARKS USING DWT-SVD
in matlab wil you please help me
thanking u
kishore
|
|
|
|

|
I'm running Visual Studio 8 and Matlab 7, now I've changed matlab.h to matrix.h, which allows it to compile properly, however when it tries to build it can't open "libmatlb.lib". As I understand it MatLab 7 doesn't require libmatlb.lib or libmmfile.lib, but when I take out the code that tries calling them I get 8 more build errors:
Matlab to C++.obj : error LNK2001: unresolved external symbol "public: virtual __thiscall CMatlabEng::~CMatlabEng(void)" (??1CMatlabEng@@UAE@XZ)
Matlab to C++.obj : error LNK2001: unresolved external symbol "public: int __thiscall CMatlabEng::Close(void)" (?Close@CMatlabEng@@QAEHXZ)
Matlab to C++.obj : error LNK2001: unresolved external symbol "public: int __thiscall CMatlabEng::EvalString(char const *)" (?EvalString@CMatlabEng@@QAEHPBD@Z)
Matlab to C++.obj : error LNK2001: unresolved external symbol "public: int __thiscall CMatlabEng::PutVariable(char const *,struct mxArray_tag const *)" (?PutVariable@CMatlabEng@@QAEHPBDPBUmxArray_tag@@@Z)
Matlab to C++.obj : error LNK2001: unresolved external symbol "public: int __thiscall CMatlabEng::SetVisible(bool)" (?SetVisible@CMatlabEng@@QAEH_N@Z)
Matlab to C++.obj : error LNK2001: unresolved external symbol "public: void __thiscall CMatlabEng::Open(char const *)" (?Open@CMatlabEng@@QAEXPBD@Z)
Matlab to C++.obj : error LNK2001: unresolved external symbol "public: __thiscall CMatlabEng::CMatlabEng(void)" (??0CMatlabEng@@QAE@XZ)
Debug/Matlab to C++.exe : fatal error LNK1120: 7 unresolved externals
Error executing link.exe.
Any ideas on how to get over this obstacle?
thanks for your time
TNT
|
|
|
|

|
hi, i have read the article about how to use matlab syntax in c++, but i cant understand it(maybe its because my english is not good enough).
actually, i want to do singular value decomposition(svd) function from matlab to my c++ project because i dont want to waste time to make the function myself..(actually i need some functions, not only svd)
anyone can tell me step by step how to use/connect matlab in c++?
u can send me an email to rifsolution@yahoo.com
please help me..
thanx..
btw, i use matlab 5.3, msvc++ 6.0, windows vista
|
|
|
|

|
Dir Sir,
I use Microsoft Visual Studio.NET, Matlab 6.5. I tried to use header flie "engine.h", but I meet the below problem:
This is my code:
-----------------
#include
#include
#include "engine.h"
void main()
{
Engine* ep;
ep = engOpen(NULL); // Connect to MATLAB engine
------------------
When I build project, I have the error:
error LNK2019: unresolved external symbol engOpen referenced in function_main
I look forward to hearing from you.
Thanks you so much.
Best regards,
|
|
|
|

|
Hi,
I have tried to run this code in visual studio 2005. I have changed Matlab.h to matrix.h, removed the unnecessary libs and the program compiles without error. However, at runtime I get an unhandled exception and a crash in gs_support.c in the lines listed below
#else /* defined (_WIN64) */
cookie = systime.ft_struct.dwLowDateTime;
cookie ^= systime.ft_struct.dwHighDateTime;
#endif /* defined (_WIN64) */
Please find error log below
'MatlabClass.exe': Loaded 'C:\Documents and Settings\mdp28\Desktop\MatlabEng_demo\Debug\MatlabClass.exe', Symbols loaded.
'MatlabClass.exe': Loaded 'C:\WINDOWS\system32\ntdll.dll', No symbols loaded.
'MatlabClass.exe': Loaded 'C:\WINDOWS\system32\kernel32.dll', No symbols loaded.
First-chance exception at 0x000a4ad6 in MatlabClass.exe: 0xC0000005: Access violation reading location 0x000a4ad6.
Unhandled exception at 0x000a4ad6 in MatlabClass.exe: 0xC0000005: Access violation reading location 0x000a4ad6.
The program '[3800] MatlabClass.exe: Native' has exited with code 0 (0x0).
Regards
Michael
|
|
|
|

|
Hi,
at first thanks for writing CMatlabEng.
I want to use an instance 'm_matlab' of CMatlabEng as a member in another class.
I wanted to open the Instance in the constructor (m_matlab.Open(NULL);) and close it in destructor. I found out that it only works when Opening 'm_matlab' in the same method where I want to use it.
Do you have some idea what´s the reason for this?
thanks in advance Jower
-jower
|
|
|
|

|
I am using the MATLAB v7.0.0(R14)and changed "Matlab.h" to "Matrix.h".
But, when I have complied the "MatlabClass", I got the error message "cannot open file "libeng.lib" ".
Do I have to set the full path of "libeng.lib" in the "pragma comment(lib,HERE)"?
If it is right, please let me know where libeng.lib is.
Also, I couldn't find both "libmatlb.lib" and "libmmfile.lib" in the whole matlab folder.
thank you
best regards,
|
|
|
|

|
How do you get the values from the pointer? (I'm new at C++.)
I do this:
mxArray *myP;
myP = mxCreateDoubleMatrix(1, 1, mxREAL);
int inMyP[1][1];
memcpy((void*) mxGetPr(myP), (void*) inMyP, sizeof(inMyP));
matlab.PutVariable("myP", myP);
matlab.EvalString("myP=1;");
myP = matlab.GetVariable("myP");
cout << myP << endl;
But myP isn't 1.
Thanks.
|
|
|
|

|
I'm currently using MATLAB version 7.3.0.267(R2006b)
-- modified at 14:58 Friday 1st December, 2006
|
|
|
|

|
Dear Riazi,
I'm currently building a C++ project and hoping to use the MATLAB ploting function to show the results. I already loaded your code into the project folder but there seems to be a runtime error, for example, "...undefined reference to CMatlabEng::CMatlabEng()..." I think my problem is how to intergrate/compile your code with mine. In other words, I don't know how to put your code into my makefile.
Please, Riazi, if you have any suggestion or know of any way to make this work, please help.
Thank you very much.
Nik.
|
|
|
|

|
can you tell me how to embed the matlab figure into winform,like list control?
i use microsoft vc#2003 and matlab r2006a.
thank you very much.
tom
|
|
|
|

|
Hi, I need call some functions of the Intel Library OpenCV from matlab.I'm doing a project with matlab about image processing. My project director told me that there was a direct form for call this Intel library but now it's not possible.then, I'm thinking do it by a MEX-files and need help!!!
How can I do it?
Thank you very much!!!!
Pedro Fernandez.
|
|
|
|

|
Hi Mr. Riazi,
I want to use your program, I add the lib like that?
#pragma comment(lib, "C:\MATLAB701\extern\lib\win32\lcc\libeng.lib")
#pragma comment(lib, "C:\MATLAB701\extern\lib\win32\lcc\libmx.lib")
#pragma comment(lib, "C:\MATLAB701\extern\lib\win32\lcc\libmatlb.lib")
#pragma comment(lib, "C:\MATLAB701\extern\lib\win32\lcc\libmat.lib")
#pragma comment(lib, "C:\MATLAB701\extern\lib\win32\lcc\libmmfile.lib")
cause my matlab lib are in C:\MATLAB701\extern\lib\win32\lcc.
but I got this error while I compiled the project:
Compiling...
MatlabClass.cpp
c:\testmatlab\eng_demo\matlabclass.cpp(4) : fatal error C1083: Cannot open precompiled header file: 'Debug/MatlabClass.pch': No such file or directory
Error executing cl.exe.
MatlabClass.obj - 1 error(s), 0 warning(s)
Your commnets and help is highly appreciated.
Best,
Reza
|
|
|
|

|
Hi
I read your article about MATLAB.
I, like Steven Romme, would also like to know if this can be used on a simulink model?
I have a simulink model of an aircraft dynamics and would like to extract variables from the simulink model using C++ and feed them into Microsoft Flight Simulator so that the aircraft within the flight sim behaves like a real aircraft.
Passing the data to Microsoft Flight Simulator is the easy part, however getting the variables into my C++ program is what I'm not sure about....
Any advice would be much appreciated.
Thanks, Marc
|
|
|
|

|
I have succesfully run you demonstration program under Matlab 6.5.0, but have now been upgraded to 7.0.4 (R14 service pack 2), which casues missing header errors. In a previous message, you mentioned that matlab.h needed to be replaced with mclmcr.h for the files to run under Matlab 7. However, neither file exists in my current version. Do you know if the headers been changed yet again, and what is needed now?
Thanks,
James
|
|
|
|

|
Hi,
I read your article with great interest and i was wondering if this works with a simulink model as well.
We want to use a control system diagram designed in simulink in a stand-alone VC++ (MS studio 6 or .NET 2005)
This system has several inputs and outputs and a lot of parameters. What we want to do is create a VC++ program that receives the input from another module over a UDP communication and sends the output back to this module over UDP.
Is it possible to use this simulink model in your suggested way as .m files or .mex files work?
Thank in advance for your reaction!
steven.romme@gmail.com
Steven Romme
-- modified at 18:15 Wednesday 22nd March, 2006
|
|
|
|

|
Hi,
Thanks firstly for your article and the demos, I found it quite useful!
The problem that I am having currently is to do with calling my own functions in matlab, for example:
I have made a M-file in matlab called "times_two.m" and inside:
function y = times_two(x)
y = 2*x;
and now I have got your Matlab Engine code working inside my VC++ already, HOWEVER the problems occurs when I tried doing this:
//assume I have all the libraries included
int main(int argc, char* argv[])
{
CMatlabEng matlab;
matlab.Open(NULL);
matlab.EvalString("D = 100;"); // this will work
/* the fellowing will execute BUT does not return the right value */
matlab.EvalString("D = times_two(100);");
mxArray myVal = matlab.GetVariable("D");
// now I use my own print out function
myPrintingFunction(myVal);
matlab.Close();
return 0;
}
Now you would EXPECT the print out of the result will be 200, however it will just print 100 and I have tried many values on it and finally i have track down to the line:
matlab.EvalString("D = times_two(100);");
It seems as if it does not return the value to my variable "D", is it because Matlab Engine do not support user-defined functions or M-files? I am pretty sure that the function have been executed, just that it does not return the value...
(I am using Matlab 7 R14 - the latest release)
Does anyone have a solution to this??
Thx in advance!!
|
|
|
|

|
I have compiled and linked engdemo.c in MSVC++ 6.0. It gives 0 errors and 0 warnings. But when executed (please see the code below) only "Hi 1" is getting printed and it just waits. Nothing happens. engOpen(NULL) is not able to connect to MATLAB. Why this is happening.
printf("Hi 1\n");
if (!(ep = engOpen(NULL))) {
fprintf(stderr, "\nCan't start MATLAB engine\n");
return EXIT_FAILURE;
}
printf("Hi 2\n");
Then i tried going to start->Run and typing C:\matlab7\bin\win32\matlab.exe /Automation. It opens MATLAB command window only. After that if i run the engdemo.c it works ans shows the desired result.
Is it not possible to start the MATLAB without doing the /Automation business.
Thanx in advance
Sunil
|
|
|
|

|
Hello,
I had a BC++ application that invoked the matlab engine using engOpen. It worked perfectly with R13 version of Matlab. With R14, even though I included the new libs, I get the following strange behavior. It still opens the Matlab engine but closes it thereafter. If I use engOpenSingleUse then I get return code of -3. I am not sure what this code means.
Did someone else face this problem with R14 and if yes! how was it resolved.
Thanks,
Pwn
|
|
|
|

|
Hi there,
Firstly i would like to say that is a very good article.Congratulations for that.
Now i would come to my problem.I need to call my own function finddepth(w1,w2).m where w1 and w2 are [5][3] matrices , from C.I want to send the matrices w1 and w2 from c to matlab.The function finddepth should process these values and send the result which is an integer back to the C compiler where I would like to print the results.
I have placed the finddepth.m in the work directory of the matlab but i dont have any idea if its running or not as the C rogram doesnt give me any error even if i m putting a wrong name over there.How shall i run my own file?
How to get the result back from the Matlab to the C program and how to print the result?
If possible can you show me a program module with the above application?
I shall be obliged for your help
Stefan
|
|
|
|

|
sir ,
i have some trouble about this, but i already add Matlab headers directory to VStudio directory.when i start to link your demo program, it show up the error message:
"LINK : fatal error LNK1104: cannot open file "libeng.lib"
my develop environment is
Visual C++ 6.0
Matlab 6.5 realese 13
Any help you can give me would be great.
Thanks.
|
|
|
|

|
Hello Mr. Riazi,
I read your article with interest.
I am using Compaq Visual Fortran6.6. I have Matlab6 installed in my computer with the operating system being Windows2000. Recently I also installed Matlab 7.1, so I have both Matlab6 and Matlab7.1. Previously I could easily execute this type of hybrid code:
program matplot
integer engOpen,engEvalString, engClose,ep
!DEC$ATTRIBUTES DLLIMPORT :: LIBENG
ep = engOpen('matlab ')
if (ep .eq. 0) then
write(6,*) 'Can''t start MATLAB engine'
stop
endif
call engEvalString(ep, 'cd c:\matplot')
call engEvalString(ep, 'plotmor');
end program matplot
I have included the lib libeng.lib in the resource area, the path being:
C:\Program Files\MATLAB71\extern\lib\win32\digital\df60\libeng.lib
Now I always get the message 'Can''t start MATLAB engine'
For libeng.lib I went back to Matlab6, but that does not work also. I am sure if I remove Matlab71 from the computer it will work again. But I do not like that. I like to keep both versions of Matlab and be able to invoke Matlab from my visual fortran routine.
Looking for a work around.
Thanks
Dilip
|
|
|
|

|
Dear all,
I have a problem with the MATLAB engine. I ask a MATLAB engine to evaluate a .m function. When the .m function is running I want to transfer matrix data to the MATLAB engine's workplace. This is because I receive data during certain events. The .m function can then read the new data and act
accordingly.
But unfortunately MATLAB does not work in this way. If an .m function is running, MATLAB does not put any new data in the workspace. I receive the matrix data only after the .m function has terminated.
Does anybody have a solution to this problem? I considered making an out-of-process COM server, so that I could call from inside my .m function to collect event data. This is a not so nice principle. Firstly, it is not event driven anymore. Secondly, I am writing a DLL, which calls my MATLAB engine. To write a out-of-process COM server in a DLL is a lot harder than writing it in an executable.
I hope somebody has some suggestions.
Kind regards,
Marcel Dijkstra
|
|
|
|

|
the weblink
http://www.mathworks.com/support/solutions/data/1-18CBI.html?1-18CBI
does help a bit.
But I want to do some simple plot in C/C++ using matlab 'plot' function.
saying changing the foo.m into test_plot.m
% test_plot.m
function y= test_plot(x)
x=1:10;
y=plot(x)
I can managed to compile and produce a test_plot.exe successfully. But upon execution of test_plot.exe in Command Prompt, it says:
ERROR: Function 'plot' requires the C/C++ Graphics Library.
EXITING.
I tried using a lower version of matlab 6.1, with Graphics Library, but it gives the same error.
I am reluctant to use Matlab 7, and compile, and create the MCR, because it is not suitable for me, and I just need to add in the plotting function into my existing C/C++ code. Dealing with MCR would make things more messy.
Or,
seem to me that another better option is to use the MATLAB Builder for COM, which I have not explored before.
any useful inputs is fully appreciated.
thanks.
Sincerely,
Thiam Huat
|
|
|
|

|
hi,
i tried but could not crack this problem.pls try to solve this.
i want a task to run until i press the "return" key.
for example send the data character out the com port continiously until i press "return" key.
pls mail me the way.
thk u
Ajo
|
|
|
|
|
|

|
Hi,
I am trying to call Matlab commands from Fortran by invoking the Matlab engine (engOpen, engEvalString, etc.) and compile into a stand-alone application. Everything works with the example fengdemo.f that Matlab provides. However, if I try to add other modules to the fortran code, they are not recognized (I guess not linked) to the main program. Compiling from Matlab using "mex -f df60engmatopts.bat main.f90 modules.f90" does not help. Does anybody have any insights into how I should go about the compilation? My system: Matlab R14, CVF 6.6C, Windows xp, P4.
Thank you,
Martin
|
|
|
|

|
Dear all:
I use cmatlabeng class. i use vc++6.0 and matlab7.
my programming compiler ok, not error.
when i execute my programming, have an error message can't find "libeng.dll"
and c++ have some message:
Loaded 'ntdll.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\kernel32.dll', no matching symbolic information found.
how i solve it?
thx..
|
|
|
|

|
I use matlab6.1
I have error:
error C2065: 'engGetVariable' : undeclared identifier
error C2065: 'engPutVariable' : undeclared identifier
how let the demo file run??
|
|
|
|

|
Hi, Razi:
Your demo code passed compile and link. However, when I try to run this code, it show me the following message:
The DEMO.EXE file is linked to missing export LIBENG.DLL: engPutVariable.
The version of MATLAB is 6.5. Do you know how to solve this problem?
|
|
|
|

|
The realease 14 has slightly modified the compiling. The matlab.h is not supported anymore. ALso the libraries libmatlb.lib and libmmfile.lib are not anymore.
Solution: Change the header files, instead of matlab.h change to
mclmcr.h.
Also under project->settings->link->input is necessary to add the libmatlb.lib and libmmfile.lib in the ignore library option. After this small change it runs nicely.
Roberto
|
|
|
|

|
i am new to matlab..i want the tool box to work with speech....basically speech synthesis.is ther any toolbox specially for speech.if so how to download..kindly help
me...please
Thanx
Prathiba
|
|
|
|

|
Hi,
We are developing .Net application using Matlab as statistics engine.
we compile m-files into com object using Combuilder, then deploy these com objects along with entire application.
We found that we have to deploy the entire matlab runtime, which is about 84MB. It is quite big.
We want to know if we can make a package only with the necessary files from matlab. There are very limited documentation on this issue from Mathworks.
We will very appreciate if someone can give us help here.
Thanks
Ray
ruiming
|
|
|
|

|
HELLO DEAR
I CAN ASK YOU PLEASE TO HELP ME , WHAT IS THE INSTRUCTION THAT REPLACE GOTO (IN C LANGUAGE)IN THE MATLAB.
WITH MY BEST REGARDS
PLEASE SEND ME E.MAIL TO
NASERA303@YAHOO.FR
|
|
|
|

|
Hi,
I'm trying to interface mathlab functions with C, basically everytime main calls a certain C function, I want that function to get the calculations done in mathlab via a userdefined function and then returning that results back into main in C. Any advice on how to do this, I'm totally stumped...
|
|
|
|

|
I am using Matlab 6.5 and VC++ 6.0
When I tried to run the program, I got the aboved error message.
But when I copy libeng.dll into the folder directory of my project, the error is solved and the program can run normally. Please advise if there is any other ways, instead of copying the files, to solve the problems. Thxs
Best Regard,
whysp
|
|
|
|

|
Hello:
I'm having a bit of trouble getting a working example of C++ code to sending data to MATLAB and returning result back to me.
I tried to get your example setup on my machine; however I can't seem to find the Files libmatlb.lib & libmmfile.lib on my machine. I think I have everything else I need.
Can you help? I am running Matlab 7.0 R14. And I am Using Visual C++ 6.0.
Thank you,
Patrick
|
|
|
|

|
Hi all,
I am a research student,my area of interest is mobile agent at wireless environment (mobile computing). I would like to ask whether you have any information how
to use MATLAB tools to simulate a mobile computing system. In other
words, I want to build a wireless system (client/server) where data
(object user-defined)can be sent between mobile terminal and a server in order to carry out some tasks at the server and treturen with the results.
Any help would be appreciated
Adel
|
|
|
|

|
Hello
I am recieving the above error message when I try to run exe (after compiling your code).
I have tried to locate the file its there 'MATLAB6p5\bin\win32'
I am even added it in project->settings->debug->libeng.dll but it has
no debugging option so no use.
I have tried many options but its not working.
Waiting for ur reply
|
|
|
|

|
Hello,
We would like to run Matlab from within a program written in FORTRAN. However, the only part of the FORTRAN source code that is open to us is designed to compile into a .dll to be linked to the main (commercial and closed) program at run time. Matlab does have these ‘engine’ functions for calling matlab from FORTRAN or C++ executables. However, for compatibility with the main program, the FORTRAN subroutine must compile to a .dll file. If it is possible at all, it would probably involve modifying the df66engmatopts.bat file. But the options and the corresponding documentation is bewildering. I guess the most essential way of putting the question is, does anyone know if it is possible to create an interface file that uses an external makefile with FORTRAN?
Much appreciate your time.
Best Regards,
|
|
|
|
 |
|
|
General News Suggestion Question Bug Answer Joke Rant Admin
|
Using MATLAB Engine API to control MATLAB
| Type | Article |
| Licence | |
| First Posted | 27 May 2003 |
| Views | 391,420 |
| Bookmarked | 83 times |
|
|