Add the directory to matlab path, or call the .m file with it full name ( D:\..... \myfile.m)

Hey friends, i am working on simulation of power system using matlab. for that i have written codes for generation side and line side separately. Now i want to use the result of generation file to line file....so how can i use the result of one file to another.... eg i have gen.m file from that i can get hourly gen data....now i want to compare that data to line.....and line modelling is done in separate file line.m so i want to call result of gen.m file to line.m file..... waiting for ur valuable suggestion thanks ...

HI! I'm trying to compile a program writen in one m file which serves as a menu and it calls other m files (GUI's). The problem is that i have several functions (m files) in several directories (wich i�ve included in the first menu), so i want to compile all the m files wich are called by the first and so on. I�ve tryed to compile the menu doing: mcc -m menu.m, but it gives an error when i push a button to open another GUI. Can someone tell me how to compile a GUI wich calls other GUI's? Thanks Rui Deus : > > You need to tell the mcc compiler where these other m-files are...

undefined ...

undefined ...

Hi, I am trying to call a matlab function from C. There are 2 ways that I have tried, and have been unsuccessful with both. 1) The first method is from: <http://prism.mem.drexel.edu/Shah/public_html/c2matlab.htm> I have this one working (with the plot), but I tried adding the following: engEvalString(ep, "testingMatlab (temp1,temp2)"); where testingMatlab is a .m file which contains a function named testingMatlab and simply adds the 2 numbers temp1 and temp2. This did nothing. Did I miss something here or is there someother way of calling the function? I also tried to add eng...

Hello All, Could anyone explain with me why MATLAB files (M-files) execute slower than compiled written in other languages such as C,C++ and Fortran? Give me the significant slow of M-files to be compiled Thank you. ...

Hi, I implemented some functions using system generator (simulink) and I need to perform some statistical analysis on these functions which involves multi-colouring test. I wrote a matlab file to call these functions inside of a for loop. But for some reason, after a few runs, Matlab just automatically quit without any warning or error messages. Does anyone know why this is happening? At least any suggestion on whether it's Matlab's problem or system generator's problem? Any help would be appreciated. Joy ...

I use Labview (version 6.1) to send variables to Matlab (version 7.0.4) via Matlab script and I would like to display some message on the command window of Matlab. The messages are displayed when I call my Matlab function from the command window of Matlab but not when the function is called from Labview. Do you have any idea how to solve this problem ? Regards, Julien. ...

Hi there, How I have a matlab file that calculates a variable "l".Now i want to call this "l" variable in another matlab file I am working on. How do i do this please? Urgent!! On 11/14/2012 4:39 AM, Francis Etu-Menson wrote: > Hi there, > How I have a matlab file that calculates a variable "l".Now i want to call this "l" variable >in another matlab file I am working on. How do i do this please? Urgent!! > The first function A() will return this variable "L" as its return value. Then you can pass this variable "L" to the second function B() as an argument. Like this L = A() B(L) ...

Hello everyone, How do I compile MATLAB M files into a form that can then be called from within the MATLAB interpreter? A roundabout way would seem to be to (somehow) Turn the matlab code into C (I think mcc does this), then compile this C code into MEX format and call that. Is there an easier way? I have the MATLAB compiler, so I just need to know what to do with it to get this to work. Thanks in advance, Sina sina.tootoonian wrote: > > > Hello everyone, > > How do I compile MATLAB M files into a form that can then be called > from within the MATLAB interpreter? A roundabout way would seem to > be > to (somehow) Turn the matlab code into C (I think mcc does this), > then > compile this C code into MEX format and call that. Is there an > easier > way? I have the MATLAB compiler, so I just need to know what to do > with > it to get this to work. > > Thanks in advance, > > Sina > > HELP MEX > HELP MEX Or, better, HELP MCC help pcode pseudo code is useful to obfuscate code - protect algorithms, yet still run at full speed and be distributable to other matlab users sina.tootoonian wrote: > > > Hello everyone, > > How do I compile MATLAB M files into a form that can then be called > from within the MATLAB interpreter? A roundabout way would seem to > be > to (somehow) Turn the matlab code into C (I think mcc does this), > then > compile this C code into MEX format and call that...

Hello - I have two programs - one main one that is supposed to call another one. How do I call the smaller matlab program within the main one? I get error. Do I have to import it or something? Thanks! On May 4, 3:48=A0pm, samantha <samdomvi...@yahoo.com> wrote: > Hello - I have two programs - one main one that is supposed to call anothe= r one. How do I call the smaller matlab program within the main one? I get e= rror. Do I have to import it or something? Thanks! -------------------------------------- samantha: No, you just call it. Just put the name of the m file on a lin...

I'm looking for a vba code which helps me to call MATLAB m file from Excel. Thanks On Thu, 12 Mar 2009 12:27:58 -0400, <amirhosein.norouzi@gmail.com> wrote: > I'm looking for a vba code which helps me to call MATLAB m file from > Excel. > > Thanks http://www.mathworks.com/access/helpdesk/help/techdoc/matlab_external/f135590.html#f133975 Or paste this in the MATLAB command window: web([docroot,'/techdoc/matlab_external/f135590.html#f133975']) ...

How can call class function,and initialize object of class in another file.m , when calling from command window its work but I wanna call function from m file. i have folder:@myClassName. "foozhan " <hani.hasani@yahoo.com> wrote in message news:lrve3a$gu7$1@newscl01ah.mathworks.com... > How can call class function,and initialize object of class in another > file.m , when calling from command window its work but I wanna call > function from m file. > > i have folder:@myClassName. If it's a static method, use the class name. If it's an i...

Hello, I'm writing an 3D image recognition which sends commands via RS232 to a Robot which moves to the point in 3D. The problem is the serial interface: sending string commands via serial/fprintf is very slow (I really don't know what matlab makes before sending them) in comparison to e.g. Windows hyperterminal. My question is if it is better to execute a dll out of Matlab-code doing the serial things or viceversus writing a program in c++ which uses the matlab-engine ? What could be the fastest way? What are advantages/disadvantages ? Any help would be appreciated. Thanks in advanc...

undefined ...

I am currently using R12 of matLab. How can I make an M-File as EXE File? (Anyone can run the EXE File even without MatLab installed in their PC's) What you need is the Matlab Compiler. I understand that the folks in mathworks charge something around the $5000 for it... *BUT* even the compiler, I think, is only supported I in R14. Google "matlab compiler" and see what you'll find. Y. No other way of doing it. Aiza Modesto wrote: > > > I am currently using R12 of matLab. > How can I make an M-File as EXE File? > (Anyone can run the EXE File even without MatLab installed in their > PC's) Aiza Modesto wrote: > > > I am currently using R12 of matLab. > How can I make an M-File as EXE File? > (Anyone can run the EXE File even without MatLab installed in their > PC's) I refer the honourable gentleman to the answers posted on eng-tips in response to this question. That before the thread was deleted. You might have a look at the O-Matrix Development Kit, http://www.omatrix.com/omrte.html. It can be a much more affordable route for creating royalty-free, standalone distributions. "Yoav Mor" <mor_yoav@yahoo.com> wrote in message news:ef1c874.0@webx.raydaftYaTP... > What you need is the Matlab Compiler. > I understand that the folks in mathworks charge something around the > $5000 for it... *BUT* even the compiler, I think, is only supported I > in R14. > > Google "matlab ...

i hav developed a software in matlab and want to add user manuals(.pdf format) to this software. i want to open these pdf files by clicking on a button on the main GUI.please if anybody can help... waiting for an urgent reply.. Thanks... muazma wrote: > > > i hav developed a software in matlab and want to add user > manuals(.pdf > format) to this software. i want to open these pdf files by > clicking on > a button on the main GUI.please if anybody can help... > waiting for an urgent reply.. > Thanks... > > Simply add ! before the pdf file you want to execute ...

Hi, I have a problem with controlling Published m-files while submitting to Matlab File Exchange. According to <http://www.mathworks.com/matlabcentral/fileexchange/codepad.jsp>: To submit a Published M-file, include the HTML folder generated by MATLAB in your zip directory. Your HTML documents will be automatically linked from the Published M-files section of your file page. Try it!". I did tried it and sometimes it works and sometimes it does not. Lately I updated 2 of my libraries: "PhotonAttenuation 2" and "xml_io_tools" both have zip files with Matlab gener...

Hi, I am reading the help documents about how to program matlab and C C++ together and my questions are a little bit general. It seems that are several ways to call matlab in C C++ and another several ways to call C C++ in matlab. Please correct me if I am wrong or missing something when I try to list them. To call matlab code in C C++, are there two methods available? The first one is Matlab engine and the second one is to use MATLAB Compiler mcc to create C or C++ shared libraries from your MATLAB code. To call C C++ in matlab, are there also two methods? The first one is to call funct...

How to call matlab functions directly from C++ without calling matlab engine. as it is described in this tutorial: http://www.codeproject.com/samples/matlab_cpp.asp I have tried to do something similar in Visual Studio 2005 [Matlab 7, r14] #include <mclcppclass.h> .... mwArray A, B, C; A = magic(mwArray(5)); B = transpose(A); .... but it doesn't compile. I got following errors: error C3861: 'magic': identifier not found error C3861: 'transpose': identifier not found etc... I was looking for header files with declarations of this functions in matlab directory...

Hello I've just started using a program, and i need to import data to this program. There are other options but I prefer to import it from matlab...but this program only support matlab 4 version. I want to convert it my file but i son't know why....I've proved with save as..but i had no chance. What i have to do?Someone can help me? Thank you very much! Bye!! Michael wrote: > Hello I've just started using a program, and i need to import data to > this program. There are other options but I prefer to import it from > matlab...but this program only support matlab 4 v...

I have a matlab file which contains a call to an .exe file by: eval(['program.exe']); When I run this from matlab, 'program.exe' works perfectly well. Further when I compile the matlab function, the compiled program do not run smooth when it comes to the call to 'program.exe'. Is there a problem compiling a matlab program wich already has a call to an executable file? I do not have the source code for this 'program.exe'. Do you have a solution to this? That is the error message? Is it during the execution of the mcc command? What version of MATLAB do you have?...

My problem is how can I open the m-files and simulink model There is no Graphical Icon Display for both m-files or simulink model files. Please help how to retrieve their icon display and also i donot see any display for MATLAB when I open MATLAB program only blank sheet MY OS is windows 7 Thanks "A" <dragonboy.ali@gmail.com> wrote in message news:if38v0$gev$1@fred.mathworks.com... > My problem is how can I open the m-files and simulink model The commands OPEN or EDIT will work for script or function files with the .m extension; OPEN or ...

hi, Do anyone know how to connect matlab m-file which written for GUI question dialog box that get input from user and check on FIS file in fuzzy logic to get the out put???? or how to call fis on m-file?? ...

Undocumented, unsupported and hidden features in Matlab

... 23°21′N 90°42.5′E / 23.35°N 90.7083°E / 23.35; 90.7083 Coordinates : 23°21′N 90°42.5′E / 23.35°N 90.7083°E / 23.35; 90.7083 Matlab ...

The MathWorks - Developers of MATLAB, Simulink and Stateflow. Offers products for data analysis, visualization, application development, simulation, ...

Read reviews, compare customer ratings, see screenshots, and learn more about MATLAB Mobile. Download MATLAB Mobile and enjoy it on your iPhone, ...

In the aftermath of an earthquake, every second counts for disaster victims. Imagine a system that can locate people quickly and help first responders ...

What prompted the development of MATLAB?

If you are trying to compile Matlab into .Net framework, you might encounter this message, even though you have the .Net framework installed ...

Matlab, one of the world's most widely used products for algorithmic development, has long occupied its own niche far removed from EDA and hardware ...

dmtcp - DMTCP: Distributed MultiThreaded CheckPointing matlab -nodisplay -r "parpool('local',4); parfor i=1:10, pause(1); fprintf('%i ',i); end; ...

... so he focused on studying the methodology and the tools available for analyzing 433MHz RF transmission. He describes the process of using MATLAB ...

Resources last updated: 3/19/2016 9:02:02 AM