Sohil Shrestha
Followers: 0 Following: 0
Feeds
질문
How to know a input is expected when compiling Simulink model?
I have a workflow which involves compiling a lot of Simulink models from different sources. To fully automate the process, I a...
1년 초과 전 | 답변 수: 1 | 0
1
답변질문
What does get_param(gcb,'blocktype') returns for block which are from non-installed toolbox ?
What does get_param(gcb,'blocktype') returns for block which are from non-installed toolbox ? I thought it was reference but I ...
1년 초과 전 | 답변 수: 1 | 0
1
답변질문
Does update apply to all MATLAB including toolboxes or can I selectively apply updates to toolboxes?
I have MATLAB Simulink and a number of toolboxes installed. Once I install (say) R2020a, there are options for periodic updates ...
거의 2년 전 | 답변 수: 1 | 0
1
답변답변 있음
How to get terminal output when running git command?
This does the trick [~, cmdoutput] = system('git --no-pager diff --no-color');
How to get terminal output when running git command?
This does the trick [~, cmdoutput] = system('git --no-pager diff --no-color');
대략 2년 전 | 0
| 수락됨
질문
How to compare a Simulink model with empty model?
I am trying to compare model versions and extract what is added/deleted/modified by querying the difference tree. Edits = slxm...
대략 2년 전 | 답변 수: 1 | 0
1
답변질문
How to get terminal output when running git command?
I am trying to run git command through matlab script and get the terminal output. I have had success when running [status,cm...
대략 2년 전 | 답변 수: 1 | 0
1
답변답변 있음
How to programmatically find the port types of the blocks
This clarifies the confusion. https://www.mathworks.com/matlabcentral/answers/1618400-how-to-programmatically-distinguish-betw...
How to programmatically find the port types of the blocks
This clarifies the confusion. https://www.mathworks.com/matlabcentral/answers/1618400-how-to-programmatically-distinguish-betw...
거의 3년 전 | 0
| 수락됨
답변 있음
How to programmatically distinguish between different block type?
Apart of Tapped Delay In Discrete library, all other versions of Delay can be obtained by changing certain dialog box parameter....
How to programmatically distinguish between different block type?
Apart of Tapped Delay In Discrete library, all other versions of Delay can be obtained by changing certain dialog box parameter....
거의 3년 전 | 0
| 수락됨
답변 있음
Is there a way to programmatically know if a model/block diagram is testbed ?
For testbeds created using Simulink Test toolbox, they provide api to do it.
Is there a way to programmatically know if a model/block diagram is testbed ?
For testbeds created using Simulink Test toolbox, they provide api to do it.
거의 3년 전 | 0
| 수락됨
질문
How to programmatically distinguish between different block type?
We can get the block type using get_param(gcb,"BlockType") However, several block types are returned as Subsystem or S-functio...
거의 3년 전 | 답변 수: 3 | 0
3
답변질문
How to programmatically find the port types of the blocks
According to the documentation , "PortConnectivity" parameter of the block has a field "type" which should either return the typ...
거의 3년 전 | 답변 수: 1 | 0
1
답변질문
Is there a way to programmatically get list of valid values/datatypes for Simulink block parameter?
Simulink Block Specific parameters documentation lists the values and/or datatype each parameter of the block accept. Is there ...
대략 3년 전 | 답변 수: 1 | 0
1
답변질문
Matlab static variable that can be modified by super class and sub class?
I have following structure where I have a superclass and two subclasses classdef A properties staticvar end...
대략 3년 전 | 답변 수: 1 | 0
1
답변질문
How to find if the Simulink model is used for code generation
Is there a heuristic or certain block parameter configuration that suggests if a Simulink model is used or configured for code...
3년 초과 전 | 답변 수: 2 | 0
2
답변답변 있음
How to programmatically know if a block is a sink block?
%Upon digging into some api , this is the solution I came up with. % I have not tested with all possible cases. % If there a...
How to programmatically know if a block is a sink block?
%Upon digging into some api , this is the solution I came up with. % I have not tested with all possible cases. % If there a...
3년 초과 전 | 0
질문
How to programmatically know if a block is a sink block?
I have Simulink model. I want to know if each of the block inside my model is a sink block or not (or it belongs to a Sink Simul...
3년 초과 전 | 답변 수: 3 | 0
3
답변질문
Why is cyclomatic Complexity of Switch Block 2?
Switch Block has two possible outcomes: input 1 or input 3. The cyclomatic complexity of the block should have been 1 according...
4년 초과 전 | 답변 수: 1 | 0
1
답변질문
Does Simulink block metric includes count from custom library blocks
The documentation of Simulink Check Model Metric says Simulink block count Does not include links into MathWorks libraries, wh...
4년 초과 전 | 답변 수: 0 | 0
0
답변질문
Throw Error in TimerFcn
I want to throw an error when timer fires up . try timeout = timer('TimerFcn','error(''TIMEOUT OCCURED'');','StartDelay',...
4년 초과 전 | 답변 수: 2 | 0
2
답변질문
Is there a way to programmatically know if a model/block diagram is testbed ?
Similar to bdisLibrary, Is there a MATLAB API to check if a block diagram or model is a testbed or test harness?
4년 초과 전 | 답변 수: 1 | 0
1
답변질문
Does Simulink compiles a model when opening it?
I have a question regarding stages of compilation and simulation in Simulink. I read the documentation in here https://www.mathw...
거의 5년 전 | 답변 수: 2 | 0
2
답변질문
Trying to use 6 different shades of gray on stacked bar
Hello, I am trying to create a gray scaled stacked bar plot. I have set the bar.FaceColor = 'flat' and CData to different rgb t...
5년 초과 전 | 답변 수: 0 | 0