Feeds
已回答
how to create a new library in matlab library browser?
You can add your library using the SLBLOCKS mechanism. Follow the steps in this page: https://www.mathworks.com/help/simulink/u...
how to create a new library in matlab library browser?
You can add your library using the SLBLOCKS mechanism. Follow the steps in this page: https://www.mathworks.com/help/simulink/u...
6 years 前 | 0
已回答
Error: "Undefined variable 'LibraryBrowser' or class 'LibraryBrowser.StandaloneBrowser'" after migrating from MATLAB R2012a to R2015b
The above API is deprecated since R2014b.
Error: "Undefined variable 'LibraryBrowser' or class 'LibraryBrowser.StandaloneBrowser'" after migrating from MATLAB R2012a to R2015b
The above API is deprecated since R2014b.
8 years 前 | 0
已回答
Comparing cell arrays of symbolic variables
isequal(G{1},G{2}) The above code will return if true and 0 otherwise.
Comparing cell arrays of symbolic variables
isequal(G{1},G{2}) The above code will return if true and 0 otherwise.
8 years 前 | 0
已回答
How to pre-allocate table rows
I can think of several ways to do it depending on your data. One way would be: create a cell array of row x column and covert ...
How to pre-allocate table rows
I can think of several ways to do it depending on your data. One way would be: create a cell array of row x column and covert ...
8 years 前 | 2
已回答
how to calculate the value of u(x,t)=exp(at+bx) for x=0 to 1 and t=0 to 1
You didn't mention values of a and b. So I am passing that as an argument here. u_xt = @(x,t,a,b) exp(a*t+b*x); % Create a...
how to calculate the value of u(x,t)=exp(at+bx) for x=0 to 1 and t=0 to 1
You didn't mention values of a and b. So I am passing that as an argument here. u_xt = @(x,t,a,b) exp(a*t+b*x); % Create a...
8 years 前 | 0
已回答
Is it possible to delete the Simulink (R2014b) browser history (back/forward/up to parent) of a model without restarting MATLAB?
Why restart MATLAB? Doesn't closing the model help? E.g. bdclose all %or if you want to just close a specific model (say a...
Is it possible to delete the Simulink (R2014b) browser history (back/forward/up to parent) of a model without restarting MATLAB?
Why restart MATLAB? Doesn't closing the model help? E.g. bdclose all %or if you want to just close a specific model (say a...
8 years 前 | 0
已回答
What is that symbol next to the outport of a simulink block?
The magnifying glass on a signal stands for a test point. You can add a test point to a signal through right-clicking on a signa...
What is that symbol next to the outport of a simulink block?
The magnifying glass on a signal stands for a test point. You can add a test point to a signal through right-clicking on a signa...
8 years 前 | 1
已回答
how to find the floating scope in simulink model?
To find a floating scope in a model find_system(aModel,'AllBlocks','on','BlockType','Scope','Floating','on') To find a f...
how to find the floating scope in simulink model?
To find a floating scope in a model find_system(aModel,'AllBlocks','on','BlockType','Scope','Floating','on') To find a f...
8 years 前 | 0
已回答
Searching for a directory in matlab Path
If _exist(myDir,'dir')==7_ I usually go to the MATLAB root and do a system find, but remember this can return several values ...
Searching for a directory in matlab Path
If _exist(myDir,'dir')==7_ I usually go to the MATLAB root and do a system find, but remember this can return several values ...
8 years 前 | 0
已回答
Why does 'filesep' not work with 'gcb'?
When you are writing MATLAB scripts to get or set block names or paths, use forward slashes as forward-slashes are always used a...
Why does 'filesep' not work with 'gcb'?
When you are writing MATLAB scripts to get or set block names or paths, use forward slashes as forward-slashes are always used a...
8 years 前 | 1
| 已接受
已回答
check whether a Simulink handle is a block or model programmatically
Shafiul To determine whether a handle (say h) is that of a block or model, just query its type: get_param(h,'Type') For...
check whether a Simulink handle is a block or model programmatically
Shafiul To determine whether a handle (say h) is that of a block or model, just query its type: get_param(h,'Type') For...
8 years 前 | 1
| 已接受
已回答
Update library repository for simulink custom library
The following flag ' *Choice*' needs to be added to your SLBLOCKS file. The flag indicates that the SLBLOCKS author wants to rep...
Update library repository for simulink custom library
The following flag ' *Choice*' needs to be added to your SLBLOCKS file. The flag indicates that the SLBLOCKS author wants to rep...
8 years 前 | 3
| 已接受
已解决
Add offset to a signal
Produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/add-offset-eqn.png>> You should see a downward...
9 years 前
已解决
Produce a sine wave
Produce a sine wave with amplitude 3: <<http://blogs.mathworks.com/images/seth/cody/sine-eqn.png>>
9 years 前
已解决
Produce a cosine wave
Produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/cosine-eqn.png>>
9 years 前
已解决
Add a block to a model
Produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/add-block-eqn.png>> In this case, the slope of...
9 years 前
已解决
Connect blocks in a model
Connect the blocks in the model to produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/connect-blocks...
9 years 前