Réponse apportée
How do I plot Simulink signal values saved to the MATLAB workspace on an axes?
I assume you run the Simulink model from the MATLAB GUI using the |sim| command. The data from your Scope will end up in the GUI...

environ 15 ans il y a | 5

| A accepté

Réponse apportée
Unable to publish matlab .m file in cell mode, to Micosoft Word 2010
Have a look at this <http://www.mathworks.com/support/bugreports/659693 bug report> and see if the suggested workaround fixes yo...

environ 15 ans il y a | 1

| A accepté

Réponse apportée
lsqcurvefit of a summation function where the parameter to evaluate is the last index of the summation (so an integer)
I'm not sure this is something that can be done with the Curve Fitting Toolbox. I think a better approach would be to use the Op...

environ 15 ans il y a | 0

Réponse apportée
How do I create a string for a plot title from one fixed string and one I get from INPUT?
name1 = input('Plot's title part 1','s'); name2 = input('Plot's title part 2','s'); t = 0:0.01:10; y = sin(t); plot(t,y) ...

environ 15 ans il y a | 2

| A accepté

Réponse apportée
Find Referenced Variables - Model Explorer
|FC| is calculated in the mask initialization based on the parameters you enter in the mask: right-click on the fuel cell block,...

environ 15 ans il y a | 5

| A accepté

Réponse apportée
How to use the polyfit block in Simulink
If a doesn't change, then surely factor = a? If that's the case, a simple Polynomial block parameterized with a should do the tr...

environ 15 ans il y a | 0

Réponse apportée
Building a 64 bit mex file from a 32 bit machine
I don't believe so. The other way round is possible because you can install a 32-bit MATLAB on a 64-bit O/S. You can't however, ...

environ 15 ans il y a | 1

Réponse apportée
How to use the polyfit block in Simulink
Use the <http://www.mathworks.com/help/releases/R2011a/toolbox/simulink/slref/polynomial.html Polynomial> block. HTH, Arna...

environ 15 ans il y a | 0

Réponse apportée
Curve fit tool and log scale
From the curve fitting tool, once you're done with the fitting, click on |File| -> |Generate Code| to generate the MATLAB code f...

environ 15 ans il y a | 2

| A accepté

Réponse apportée
Solver Configuration for Pneumatic in Simulink
First, you are not using an appropriate solver. In the MATLAB command window, you should see something like: |Warning: The so...

environ 15 ans il y a | 3

| A accepté

Réponse apportée
Converting Analog Filter into Digital Filter
sys_cont = tf(B,A); sys_disc = c2d(sys_cont,1/fs); bode(sys_cont,sys_disc,w); HTH, Arnaud

environ 15 ans il y a | 0

| A accepté

Réponse apportée
when i ran my simulink program i faced the error .please give the solution of this error :Solver ode45 is not supported by Physical Networks. Select one of these solvers: ode23t, ode15s or ode14x (fixed-step)
The error/warning message is pretty self-explanatory. |ode45| is not an appropriate solver for physical networks. Use |ode23t| o...

environ 15 ans il y a | 0

Réponse apportée
kindly tell me can i solve linear algebra equitions
# Use <http://www.mathworks.com/help/releases/R2011a/techdoc/ref/roots.html |roots|> # This is simple linear algebra. Have a lo...

environ 15 ans il y a | 0

Réponse apportée
Greek letters on MATLAB Figures
See <http://www.mathworks.com/help/releases/R2011a/techdoc/creating_plots/f0-4741.html Adding Text Annotations to Graphs> in the...

environ 15 ans il y a | 2

| A accepté

Réponse apportée
Convert range of signal values to constant by Simulink
You can also use a <http://www.mathworks.com/products/stateflow/ Stateflow> chart to construct your logic algorithm. Arnaud

environ 15 ans il y a | 1

Réponse apportée
How to use your own code in simulink
Is this MATLAB code you're talking about? You can use the <http://www.mathworks.com/help/releases/R2011a/toolbox/simulink/slref/...

environ 15 ans il y a | 0

Réponse apportée
switch
I assume you are referring to the <http://www.mathworks.com/help/releases/R2011a/toolbox/simulink/slref/multiportswitch.html Mul...

environ 15 ans il y a | 0

Réponse apportée
save path
Something like that should do: base_path = 'D:\folder_1\folder_2'; % You can also use dir to get the list of the subfolder...

environ 15 ans il y a | 2

| A accepté

Réponse apportée
Drift in simMechanics forward dynamics solver(with link to example model)
Looking at the model, it seems to be doing exactly what's expected. Change the stop time to 10s, max step size to 0.01s (you mig...

environ 15 ans il y a | 1

| A accepté

Réponse apportée
Add radio buttons in figure
You probably need to create a user interface using <http://www.mathworks.com/help/releases/R2011a/techdoc/ref/guide.html |guide|...

environ 15 ans il y a | 0

Réponse apportée
Contour plot
Try this: contour(a,[1 1]) HTH, Arnaud

environ 15 ans il y a | 0

Réponse apportée
Unsure of which block to use in simulink to keep running total.
If you are using a fixed-step discrete solver, then probably a <http://www.mathworks.com/help/releases/R2011a/toolbox/simulink/s...

environ 15 ans il y a | 2

| A accepté

Réponse apportée
Discontinuities detected within algebraic loop
Co-simulation can be a source of numerical problems. Here are a few tips for dealing with algebraic loops: * <http://www.math...

environ 15 ans il y a | 2

| A accepté

Réponse apportée
read excel files from different directories
Use a combination of <http://www.mathworks.com/access/helpdesk/help/techdoc/ref/dir.html |dir|>, <http://www.mathworks.com/acces...

environ 15 ans il y a | 0

| A accepté

Réponse apportée
Dates in MATLAB
This is because of the way you set |XTick|. Use this instead: set(gca,'XTick',linspace(startDate,endDate,11)) datetick('x'...

environ 15 ans il y a | 1

| A accepté

Réponse apportée
Where can I upload images and files for use on MATLAB Answers?
I use my own Picasa Web Album. It takes a bit of work to link just the picture as opposed to the web page it's located on, but a...

environ 15 ans il y a | 1

Réponse apportée
TCP Through Serial Port
It's not clear what you want to do: # Send messages over TCP/IP from *Simulink* on your *host* machine (which is presumably con...

environ 15 ans il y a | 2

Réponse apportée
Best way(s) to master MATLAB?
If you prefer to learn in a more structured/classroom environment, I would recommend the training courses from MathWorks: MATLA...

environ 15 ans il y a | 10

| A accepté

Réponse apportée
moving window
Maybe the <http://www.mathworks.com/help/releases/R2011a/toolbox/dsp/ref/buffer.html Buffer> block from the <http://www.mathwork...

environ 15 ans il y a | 0

| A accepté

Réponse apportée
Is it possible to obtain the poppet stroke of the cartridge valve?
If you use the <http://www.mathworks.com/help/releases/R2011a/toolbox/physmod/hydro/ref/hydrauliccartridgevalveactuator.html Hyd...

environ 15 ans il y a | 0

Charger plus