From: tinne123 on 11 May 2010 16:14 Hi folks, in R2008b version of Matlab I'd need to use a sort of command to create a new .mat file with a name I choose. Maybe I am blind, but in the documentation I only discovered moves to open and handle an existing .mat file. Thanks!!
From: tinne123 on 11 May 2010 16:25 "tinne123 " <nastanova(a)yahoo.co.uk> wrote in message <hscdqs$pmf$1(a)fred.mathworks.com>... > Hi folks, > in R2008b version of Matlab I'd need to use a sort of command to create a new .mat file with a name I choose. Maybe I am blind, but in the documentation I only discovered moves to open and handle an existing .mat file. > Thanks!! With the above post I mean, I need to implement this in a code (thus asking for a command or function to perform it). A second problem: I just converted from R2006a to R2008b. I am puzzled by the Matlab Desktop / New and by the File / New menus. It seems to create a new blank .m file which is associated with the Editor. But not a new .mat file. I just tried to close the current workspace. It did, without asking me to save it - what it does in fact is just hiding it and it will return after the tab Current Workspace is chosen again. I just know that in this version, the .mat files are of a database sort, but for the rest I expected they would behave as any other files... Hope someone knows the trick! Thanks!!
From: someone on 11 May 2010 16:43 "tinne123 " <nastanova(a)yahoo.co.uk> wrote in message <hscefg$75g$1(a)fred.mathworks.com>... > "tinne123 " <nastanova(a)yahoo.co.uk> wrote in message <hscdqs$pmf$1(a)fred.mathworks.com>... > > Hi folks, > > in R2008b version of Matlab I'd need to use a sort of command to create a new .mat file with a name I choose. Maybe I am blind, but in the documentation I only discovered moves to open and handle an existing .mat file. > > Thanks!! > > With the above post I mean, I need to implement this in a code (thus asking for a command or function to perform it). doc save % as an example: save('filename', 'var1', 'var2', ...) % if filename doesn't have an extension, then .mat is used > > A second problem: I just converted from R2006a to R2008b. I am puzzled by the Matlab Desktop / New and by the File / New menus. It seems to create a new blank .m file which is associated with the Editor. But not a new .mat file. I just tried to close the current workspace. It did, without asking me to save it - what it does in fact is just hiding it and it will return after the tab Current Workspace is chosen again. I just know that in this version, the .mat files are of a database sort, but for the rest I expected they would behave as any other files... Hope someone knows the trick! Thanks!! I'm not sure what "trick" you want. I think you are right about the *.m vs *.mat files part, but I don't understand the rest of the above.
From: tinne123 on 11 May 2010 17:51 Hey, I am using R2008b the first day, so don't let you irritate by my astonishment. I discovered that now Workspace is living it's own life and instead I need to look on the file pane that is by default on the left, if I want to follow what is happening in .mat files. Thanks for the tip on save (filename). It seems to create a .mat file in a way... although a bit crazy. I am missing the option to create a blank .mat file through File / New or something like that...
From: ImageAnalyst on 11 May 2010 18:03 And what is the reason for creating a blank/empty .mat file?
|
Next
|
Last
Pages: 1 2 Prev: Unreadable coefficients expressed in syms Next: Invoking Agilent ADS from Matlab |