|
|
import mat file
Hi,
I've been trying to load matfiles in a for loop in embedded matlab function, but couldt. I found a post here mentioning to use the callback from model properties, but it seems the loaded data can only be used inside simulink not the embedded matlab function. If Im right, is there any way to load mat file into my function?or should I save the data in another matlab function and call it from embedded matlab function?
will be happy to hear any solution
|
|
0
|
|
|
|
Reply
|
LS
|
1/19/2011 8:03:30 AM |
|
LS <user@compgroups.net/> wrote in message <prGdnUgQpv5IB6vQnZ2dnUVZ_smdnZ2d@giganews.com>...
> Hi,
>
> I've been trying to load matfiles in a for loop in embedded matlab function, but couldt. I found a post here mentioning to use the callback from model properties, but it seems the loaded data can only be used inside simulink not the embedded matlab function. If Im right, is there any way to load mat file into my function?or should I save the data in another matlab function and call it from embedded matlab function?
>
> will be happy to hear any solution
>
Hi
You can use Model properties -->Callbacks--> initFcn to load your mat file data. You can use your mat file data in Embedded matlab function.
HTH,
Saif
|
|
0
|
|
|
|
Reply
|
user
|
1/19/2011 10:31:04 AM
|
|
|
1 Replies
463 Views
(page loaded in 0.048 seconds)
Similiar Articles: Load data/.mat-file in Simulink - comp.soft-sys.matlabHello all, I have a Matlab function which imports and uses data from a .mat file. This is held in an array of structures, with each structure holdi... .mat to text file/xls sheet - comp.soft-sys.matlabHi, Am looking for a function that can import/save all the variables from a .mat file (mainly containing structure arrays of different dimensions) in... read labview files in matlab. - comp.soft-sys.matlabi can, but do not want to import the .txt and save the .mat file and then call on the mat file, since i will be saving many files over 200 for each test. each with a new ... Load mat-file from GUI - comp.soft-sys.matlabimport mat file - comp.soft-sys.matlab If Im right, is there any way to load mat file into my function?or should I save the data ... Hello, I wrote a program with a GUI. importing audio files into simulink - comp.soft-sys.matlab ...how to import audio file into simulink ... ... "Ravikumar" <raviks_1999@mathworks.com> wrote in message <hstetg$o4p$1@fred.mathworks.com>... import MULTIPLE .txt files in matlab - comp.soft-sys.matlab ...Hello, I'm trying to load several text files in matlab. The files are named : calib000.txt calib001.txt calib002.txt ..... calib010.txt calib... For loop for loading files - comp.soft-sys.matlabimport mat file - comp.soft-sys.matlab Hi, I've been trying to load matfiles in a for loop in embedded matlab function, but couldt. I found a post here mentioning to use ... Import script step FMP 7 after renaming file. - comp.databases ...In the import script step, the file reference file:myfile.fp7 is stored. ... file "edited via AREXX script ... renaming variables in preset MAT files ... importing .ai to 3ds max... - comp.graphics.miscC++ code for 3ds ... ... to Convert a 3D Studio Max File to ... SolidWorks Ideas; How to do ... mat-file in Simulink ... soft-sys.matlab How to Import a MAT File Into 3DS ... Reading a data file with the command 'load' - comp.soft-sys.math ...Hello, I have a data file 'Mydata.dat' I want to read with the command 'load '. I used the command: load ('Mydata.dat','X'); that does not work. How to Import a MAT File Into 3DS Max | eHow.comIf you're an artist who develops projects on the computer, at some point you may need to import a material, or MAT, file into 3DStudio Max. Material files are used to ... How can I directly import a MAT file into an excel sheet ...How can I directly import a MAT file into an excel sheet, bypassing MATLAB? Date Last Modified: Monday, December 21, 2009 7/22/2012 9:18:39 AM
|
|
|
|
|
|
|
|
|