comp.soft-sys.matlab - The MathWorks calculation and visualization package.
I've opted to start matlab with the "C:\MATLAB\R2007a\bin\matlab.bat -sd H:\MyWorkDir\Matlab" option forit to start in my work directory. But with the 2007a version, it always adds the path to : "C:\~\My Documents\Matlab" to the Matlab path each time I start matlab, even if I delete it from the path manually. If I don't delete it, the next time I close and reopen matlab, I get a warning: "Warning: Duplicate directory name: C:\~\My Documents\MATLAB" Now I really don't want Matlab to have anything to do with the My Docs directory or want it to repeatedly add it to the path. How do I do it? PS : it's only a problem with the 2007a version.
I have compiled a Matlab function using: mcc -m myfunc.m I obtain a myfunc.exe file. When I run this file from the dos command prompt I get the following warning : Warning: Duplicate directory name: C:\MATLAB6p1\toolbox\matlab\iofun I've checked my pathtool before compiling but I could find the "C:\MATLAB6p1\toolbox\matlab\iofun" directory only once. How come I run into this warning ? Thanks for your help, Cric
Is there any Matlab function available to model a memoryless nonlinearity using AM/AM and AM/PM charcteristics? If yes, could you let me know how I can get it? Thanks.
OK. I have a variable "aircrafttype" that equals 'F16' and is a string. I have a structure called 'F16' that has corresponding data for this aircraft. I am trying to access this database by typing " aircrafttype.weight " (which should access F16.weight ) When I do this I get the error message ??? Attempt to reference field of non-structure array. I can see why this happens and have tried str2func etc with no success. Since "aircrafttype" could be F16, F18, F22 and access different databases is there any way to reference "aircrafttype.???" without having to use "switch" or "if" loops? I appreciate any help on this subject. I have been trawling the help and net for hours and cant find anything