Referencing stateflow lib inside another stateflow?
Is there any way to refer a stateflow library inside another statflow? I know I can use a simulink block inside stateflow and refer the library stateflow though that simulink. Just wondering if there is any other way other than this? ... 18 Mar 2010 10:29
strange rmdir error
Hello, My function use a rmdir that refuses to be executed. Let the relevant directory (defined in absolute path, not relative path) be called here x. Than the syntax is: rmdir('x','s') yields error message 'directory x doesn't exist!' and yet, isdir('x') yields logical true (1); and when I repeat the sam... 18 Mar 2010 12:58
??? Error using ==> fzero at 334 Function value at starting guess must be finite and real.
Hi, I am using fsolve to find the roots of the cubic equation. I get results for almost 3/4th of thecalculations but for the last values I get the below error. ??? Error using ==> fzero at 334 Function value at starting guess must be finite and real. How can I stop this error. I am giving real value as a gues... 18 Mar 2010 11:40
textread
I want to read a file that includes a number followed by tab and then a string using the [A, B] = textread([file, '.mots'], '%d\t%s\n'); and I get this error: Trouble reading literal string from file (row 1, field 3) Error in ==> textread at 177 [varargout{1:nlhs}]=dataread('file',varargin{:}); An... 18 Mar 2010 12:58
textread
I want to read a file that includes a number followed by tab and then a string using the [A, B] = textread([file, '.mots'], '%d\t%s\n'); and I get this error: Trouble reading literal string from file (row 1, field 3) Error in ==> textread at 177 [varargout{1:nlhs}]=dataread('file',varargin{:}); An... 18 Mar 2010 09:19
incorporate sampling weights in mnrfit ?
Folks, Can anyone share sample code to incorporate fixed weights into the mnrfit command? I'm fitting a model to Medicare data where each observation is a weighted sample. The help information mentions either a sample size of 1 per observation or, taking the row sums of the response matrix Y (n-by-k matrix), wher... 18 Mar 2010 10:29
save .mat file
Hi... I solved this problem by going to "Folder Option" ... "File Types"... Since I could not get it to change by using the "Change" button... I just clicked "New"... and did the association again.... It worked! The only thing now is that, when I double click... it says that the mat file is not a valid win32 applica... 18 Mar 2010 09:19
FCGR
please can anybody help me: i used the FCGR toolbox of Jesús Mena-Chalco for the 'AE016879.fasta' sequence and when i runned it, it show me this message: Error using ==> eval Reference to non-existent field 'B'. Error in ==> fcgr2 at 63 eval([pathOfTree '=' pathOfTree '+1;']); i tried to change the dn... 22 Mar 2010 20:39
GMM estimation
I am estimating stochastic discount factor models in Matlab, I am able to estimate the single equation models but when I try to estimate the model with the simultaneous equation (for example if under C-CAPM, i want to estimate the model with return on the wealth index and risk free rate) the my description in the Matla... 18 Mar 2010 09:18
Replacing a variable in a file
Hello, I have a file (temp.txt) and it has the some equation as given below: p= x+y+z I would like to replace the value of X with some value and save the file. However, the position of X is not known. Can someone help me with this. I appreciate it. Thanks, Rajeev ... 18 Mar 2010 10:29