mexCallMATLAB Problem Hi everybody, I have a problem using mexCallMATLAB in an mexFunction. If I pass the mexFunction arguments directly into the mexCallMatlab, like mexCallMATLAB(nlhs,plhs,nrhs,prhs, "det"); everything works fine. When I need more input arguments in the outer mexFunction (say two matrices) and if I want to calculate... 6 Aug 2010 13:46
simulate time series data what r the steps to simulate time series model arma(0,1)=ma(1) & theta=valeu (e.g theta=0.3) ... 6 Aug 2010 10:26
plot circular data (e.g. vehicle trajectories of a ringroad) Hi, I have a 2D data set of vehicle trajectories, containing the position of every vehicle at every time step. This position refers to a location of a ringroad. A ringroad of 1000m length has a jump in its location numbering: After meter 999 you reach "the beginning" of the ringroad at meter 0 again, much like in a ... 6 Aug 2010 17:05
All sample times for this block must be discrete. No continuous or constant sample times are allowed. Hello all, i am using Intergate and dump block after a low pass filter transfer function but always i get same error as "All sample times for this block must be discrete. No continuous or constant sample times are allowed." i am very new learner of simulink and also provide some link of any simulink book specially ... 6 Aug 2010 09:21
All sample times for this block must be discrete. No continuous or constant sample times are allowed. Hello all, i am using Intergate and dump block after a low pass filter transfer function but always i get same error as "All sample times for this block must be discrete. No continuous or constant sample times are allowed." i am very new learner of simulink and also provide some link of any simulink book specially ... 6 Aug 2010 09:21
Import data (*.ddf) I'm trying to import delimited data files (*.ddf) into MATLAB and I'm having some issues. The data has 7 header rows and then a few thousand rows of data. When working through the import wizard, it imports data in blocks each containing 4096 points. However the first block is empty for all channels, imported data shift... 6 Aug 2010 09:21
Transparency with -nodisplay option Hello, I have a matlab script that creates a number of figures. I am creating an AVI from those figures. Everything works fine, until I run matlab in batch mode with the "-nodisplay" option. When enabling this option, transparency is lost. I've read that transparency is only handled by opengl driver. How can... 6 Aug 2010 08:15
anyone could convert this to simulink blocks hi .. this is an example from the matlab help files.. could anyone please covert it to simulink block and show me how this is done ? espacily, how would i send a string over the rs232 with Simulink . s = serial('COM1'); fopen(s) fprintf(s,'*IDN?') idn= fscanf(s) fclose(s) delete(s) clear s thanks in ... 6 Aug 2010 08:15
random seeds The Matlab documentation says that RAND and RANDN maintain different states, and therefore resetting the seed of one does not affect the other. Do all other random functions in Matlab use these two to generate their output? For example, POISSRND, BINORND, EXPRND. In other words, if I set random seeds to RAND and R... 6 Aug 2010 12:40
Help with TolX i have N input parameters for an optimization function, say fminsearch, can i set N different tolX for each parameters? ... 6 Aug 2010 09:21 |