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년 초과 전 | 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년 초과 전 | 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년 초과 전 | 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년 초과 전 | 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년 초과 전 | 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년 초과 전 | 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년 초과 전 | 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년 초과 전 | 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년 초과 전 | 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년 초과 전 | 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년 초과 전 | 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년 초과 전 | 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년 전
문제를 풀었습니다
Produce a sine wave
Produce a sine wave with amplitude 3: <<http://blogs.mathworks.com/images/seth/cody/sine-eqn.png>>
대략 9년 전
문제를 풀었습니다
Produce a cosine wave
Produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/cosine-eqn.png>>
대략 9년 전
문제를 풀었습니다
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년 전
문제를 풀었습니다
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년 전