답변 있음
Libraries, model workspace, base workspace and how to parameterize my models
Hi Carlos, Is there any specific reason you have decided on using libraries for this? It sounds like you'd have a much easie...

14년 초과 전 | 0

| 수락됨

답변 있음
handles in GUI code
A little string searching combined with some struct functions will get ya what you need handles.instr1 = randn; handles....

14년 초과 전 | 0

| 수락됨

답변 있음
assign differernt marker and put an offset in x-axis in subplot()
Two comments * You can easily plot a group of lines using a single call to the plot function if you arrange each column of th...

14년 초과 전 | 0

답변 있음
Updating application data from several GUI's
When you write setappdata(0, 'hMainGui', hMainGui); MATLAB is literally just storing a number to the root level object 0...

14년 초과 전 | 0

답변 있음
Structures in Simulink
Are you referring to a structured signal? If so, check out the Bus Creator block in the Simulink -> Signal Routing library.

14년 초과 전 | 0

답변 있음
Callback and evalin
Also, not sure if you are aware of this, but you can have the Simulink model resolve variables in the caller workspace instead o...

14년 초과 전 | 1

답변 있음
Problems updating variables from java generated m-files
Sounds like MATLAB isn't aware a file has changed, and might be using an old, cached version of it. Two thoughts you might tr...

14년 초과 전 | 0

답변 있음
emlmex error
Is there any way you can upgrade MATLAB versions? It seems like support for MSVC 2010 has really improved between R2010a and R2...

14년 초과 전 | 0

답변 있음
Disagreement between step function and stepinfo function.
Does the step function give ok results if you don't add t as a second argument? I ask because the spacing of your t vector may ...

14년 초과 전 | 0

답변 있음
sort arrays with sortrows
How are you reading the data into MATLAB? I think the format you have the data stored in could make or break sortrows in certai...

14년 초과 전 | 0

| 수락됨

답변 있음
read a file .txt with 'm' rows and 5 columns and ....
Ok i was curious... data = dlmread('myFile.txt','\t') %assuming tab delimited colsOfInterest = data(:,2:4) n...

14년 초과 전 | 1

| 수락됨

답변 있음
Using EOF flag to change multimedia block parameters
Could you put the logic to switch files and restart the simulation in MATLAB instead? You could redefine the file using set_p...

14년 초과 전 | 0

답변 있음
Trouble in upconverting a narrow band signal to a 1 GHz carrier using Simulink
Short answer - do one of the following * Insert a Rate Transition (Simulink -> Signal Attributes) block anytime you have a si...

14년 초과 전 | 0

답변 있음
Converting iddata to a double
Is this what you mean? %Create fake data u = (0:0.01:2*pi)'; y = sin(u) + 0.1*randn(size(u)); %Create iddata o...

14년 초과 전 | 2

답변 있음
Algebraic Loop Journey of Understanding
Adding an Enable port to a subsystem makes the subsystem Atomic, so Simulink has to treat the internal contents of the subsystem...

14년 초과 전 | 0

답변 있음
strange behavior (bug?) with subplot and setting outerposition
I'm not 100% sure why it is removing the third axes. That aside, I've got a couple thoughts for ya 1. If you are going t...

14년 초과 전 | 1

| 수락됨

답변 있음
Simulink to a DLL to execute from an Desktop .Net Application
You can certainly do this with your Simulink model. Simulink Coder (formerly Real-Time Workshop) allows you to generate C/C++...

14년 초과 전 | 1

| 수락됨

답변 있음
Access Images in a zip file without unzipping
You may be able to find an external unzip utility and call it from within MATLAB using the system function. The GNU unzip seems...

14년 초과 전 | 0

답변 있음
Filtering Data
Here's a filter function example for ya... Doc reference: <http://www.mathworks.com/help/techdoc/ref/filter.html> Examp...

14년 초과 전 | 0

| 수락됨

답변 있음
Parameter estimation with more data sets
Are you referring to parameter estimation tasks with Simulink models? If so, I believe it is. You just add each data set und...

14년 초과 전 | 0

답변 있음
how to change, by using commands, the space between plots when using a subplot?
I can think of two ways 1. Manually move the axes position >> ah = subplot(2,2,1) >> currentPos = get(ah,'Position');...

14년 초과 전 | 0

답변 있음
Can't pass parameters from a mask to a subsystem
Are you masking a Model block, or a subsystem? It sounds like you added a mask to a subsystem in your top description. However...

14년 초과 전 | 1

| 수락됨

답변 있음
Query regarding induction motor equation
Hmm... I can think of two options 1. Use a Divide block, with the "Multiplication" setting to "Matrix". Then, pass the 4-by-...

14년 초과 전 | 0

답변 있음
S-Function && MS Visual Studio C/C++: Segmenation Violation -> how to find error?
I've never heard of anything like this. However, before I knew about debugging S-functions properly, I used to use printf state...

14년 초과 전 | 0

답변 있음
Output Length of signal filtered using FIR Filters
I believe generally convolution is used, though I am no signal processing expert so I can't speak to all filter variations. T...

14년 초과 전 | 1

답변 있음
Coupled Differential Equation
I would recommend giving these a try: <http://www.mathworks.com/help/techdoc/ref/ode23.html> I've never used them with the...

14년 초과 전 | 0

답변 있음
matlab code wavefront generation
You mean like this? >> x = 0:0.01:2*pi; >> y = -1:0.01:1; >> [X,Y] = meshgrid(x,y); >> wavefront = sin(X); >> s...

14년 초과 전 | 1

| 수락됨

답변 있음
Gaze Interest Heat Map
It sounds like you are looking for a 2-dimensional histogram. There is none in default MATLAB, as far as I know. However, seve...

14년 초과 전 | 0

| 수락됨

답변 있음
How to change variables in time in Simulink?
It sounds to me like you want the mass data to be a signal, and not a parameter that is defined by a workspace variable. I ...

14년 초과 전 | 2

| 수락됨

답변 있음
Help about Building GUI
There are a lot of GUI examples in the file exchange. Here's one from Mr. Matt Fig himself: <http://www.mathworks.com/matlab...

14년 초과 전 | 0

더 보기