已回答
How do I save a video with subplot?
Hi Andrea, You can refer to the code below to get started on getframe and video writer. h = figure; subplot(2,1,2); ...

7 years 前 | 1

已回答
How do I create a simulation of an accumulator that´s getting charged and discharged?
Hi Philip, You can achieve your workflow by using a triggered subsystem. The trigger can be set to activate in two conditions...

7 years 前 | 0

已回答
Run Simulink models in parallel while sharing data stores
Hi Priyanshu, Regarding your question about global data stores, you can use Simulink.Signal objects to define data stores in ...

7 years 前 | 0

已回答
how can I use imellipse or other ROIs in a gui axes created by appdesigner?
Hi Ayyoub, I don't believe imrect/imellipse are currently supported for Appdesigner. The following document lists all sup...

7 years 前 | 0

已回答
simulation time shortened with step size
Hi Jeff, I am suspecting that your model is logging only last 5000 samples from the simulation data. You can validate if you ...

7 years 前 | 0

已回答
Convert an SFIT object to anonymous function - Confusing Parameters
I am not able to reproduce this behavior using the code below. I am using the exact same syntax and order for polynomial fit. ...

7 years 前 | 0

已回答
How to load cell *.mat into matlab coder for mex file generation
This is resulting because MATLAB Coder currently does not support cell arrays inside structures, not just for loading, but in ot...

7 years 前 | 0

| 已接受

已回答
why are dynamic loads (non-linear) cannot be connected directly to a Inductive (RL) circuit in simulations? How will connecting a small resistor across the load solve this issue?
This is a limitation of Simscape Power Systems described at the following documentation links: http://www.mathworks.com/help/...

7 years 前 | 1

| 已接受

已回答
Better method to interpn when one grid is fixed?
Hi Sean, You can use the griddedInterpolant function, which provides performance improvements for repeated queries to the int...

7 years 前 | 0

| 已接受

已回答
Simulink "Code generation" option unavailable (MATLAB R2015b)
Hi Raghu, Code Generation requires Simulink Coder. You can execute the following command in your MATLAB command window. ...

7 years 前 | 0

已回答
Trying to get a contour plot from CFD ASCII data
Hi Digvijay, You can include the boundaries of your domain as a vector (let's say function of x) and replace the values of me...

7 years 前 | 0

| 已接受

已回答
simulink scope display blank
It seems like your model named "mean" is shadowing the MATLAB function "mean". Rename the model to see if the error is resolved....

8 years 前 | 0

已回答
How to visualize every frame of an fmri image
I am assuming that "nii.img" returns a 4-D matrix of true color images and you would like to select ROIs for each frame using a ...

8 years 前 | 0

| 已接受

已回答
On obtaining state names names with GenSS
If the states and order of states in State-space realization remain the same after minimum realization, you can use the followin...

8 years 前 | 1

已回答
Use pcode in combination with packages
Hi Steven, MATLAB does not provide the ability to call a function in a package without using the package name prefix. However...

8 years 前 | 1

已回答
DEMDATAUI not finding the path to GTOPo30 data
HRmatlab - You can try using the "exist" function to check if the files/folder are detected on MATLAB search path. If the files ...

8 years 前 | 0

已回答
How do I normalize inequality constraints for fmincon?
From your description, I understand that you are trying to represent the sum of variables as a constraint of the form Ax < b, wh...

8 years 前 | 0

| 已接受

已回答
How to "surf" over a circular domain?
It is my understanding that you are trying to create a 3-D surf plot of a function, which is calculated over a circular domain, ...

8 years 前 | 3

| 已接受

已回答
ode45 doesn't run?
I understand that you are trying to solve a non-linear ode with some stop intergration constraints defined in ‘stopsim’ function...

8 years 前 | 1

| 已接受

已回答
How to extract features from a ROI exported table, and use the features in Classification learner APP?
It is my understanding that you are trying to generate HOG features from a list of images, each with a specified ROI location st...

8 years 前 | 0

| 已接受