Feeds
提问
Using a bus input signal as a timeseries (to load from workspace)
Hello, I have a bus structure which is as follows: BUS A - ELEMENT - a (another bus) of dimension 2 - aa...
10 years 前 | 1 个回答 | 0
1
个回答提问
Multiple Istances of Referenced Model and its Effect on S-Function Builder Block
I want to be able to use multiple instances of my model. This model has got a legacy C function (which uses static variables) th...
10 years 前 | 1 个回答 | 0
1
个回答提问
SIMULINK testing a model that has bus input and output ports
I have a SIMULINK model that uses bus inputs and outputs as top level ports. When I am testing it, I don't know how to create a ...
10 years 前 | 2 个回答 | 0
2
个回答提问
SIMULINK holding previous values of a signal
I am trying to implement a pulse generator in SIMULINK that needs to know the previous 2 input values i.e. I need to know the pr...
10 years 前 | 0 个回答 | 1
0
个回答提问
Naming Problem that Occurs Repeatedly
Hello, My problem is specific to SIMULINK, model and code generation advisor, and Embedded Coder. I am using model referenci...
11 years 前 | 0 个回答 | 0
0
个回答提问
SIMULINK signals and parameters
Is there any way I can select my constants in SIMULINK to be a parameter or signal when moving to code generation? I vagulely...
11 years 前 | 1 个回答 | 0
1
个回答提问
Using DLLs and .OBJ files (built on one PC using visual studio) in SIMULINK model hosted by a different PC
I have a few DLL and OBJ files that I am calling from my model (using S-Function Builder). My development machine is working fin...
11 years 前 | 0 个回答 | 0
0
个回答提问
How can I make Embedded Coder Ignore Scope Blocks when Simulating and Generating Code?
I have got some inputs in my model that are passed via the environment controller i.e. the test inputs will be for simulation an...
11 years 前 | 0 个回答 | 0
0
个回答提问
Effect of tunable/configurable parameters in a masked subsystem when using Embedded Coder
I have a masked subsystem containing several tunable parameters. There is a stage where my model will have to be code-generated ...
11 years 前 | 0 个回答 | 0
0
个回答提问
Testing large-scale models in SIMULINK
We are creating a synthetic envrionment where all our subsystems are software models (i.e. no actual physical system is present)...
11 years 前 | 2 个回答 | 0
2
个回答已解决
Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; and ...
11 years 前
已解决
Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...
11 years 前
提问
Problems with step size in SIMULINK model
I am having problems in my models where the delay is a multiple of 0.5. It seems that due to rounding arithmetic, I am losing pr...
11 years 前 | 0 个回答 | 0
0
个回答提问
SIMULINK model simulation with variable and fixed step size
Hello, I have a model that has an internal 0.5s delay that I need to check in my simulation. The delay is done by a block whi...
11 years 前 | 0 个回答 | 0
0
个回答已解决
Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...
11 years 前
提问
Unit-Testing SIMULINK models using basic MATLAB and SIMULINK functionality
I have a set of mixed-complexity SIMULINK models that I need to perform unit tests on. I know that Mathworks provides a test fra...
11 years 前 | 1 个回答 | 0
1
个回答提问
Modelling a data storage that would hold previous values
Hello, I have a subsystem which requires two 1-bit values to be held or overwritten based on certain conditions. This subsyst...
11 years 前 | 0 个回答 | 0
0
个回答已解决
Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...
11 years 前
提问
Implementing a customised counter in SIMULINK using basic blocksets
I am trying to implement a counter logic in SIMULINK where in1, in2 are inputs out1 is the output if in2 = ...
11 years 前 | 1 个回答 | 0
1
个回答提问
Trouble understanding the Code Generation Advisor Messages
*My understanding about SIMULINK advisor* SIMULINK advisor is there so that modellers do not make silly mistakes that could c...
11 years 前 | 1 个回答 | 0
1
个回答提问
A resettable Delay in SIMULINK
Hello, I am trying to implement a logic from its timing diagram. I have a signal that will follows the input n seconds after ...
11 years 前 | 2 个回答 | 0
2
个回答提问
Problem using SIMULINK coder
I have MATLAB and SIMULINK trial product with SIMULINK coder and cannot seem to get the SIMULINK coder to generate C/C++ code fo...
11 years 前 | 1 个回答 | 0
1
个回答提问
Trouble Installing MATLAB SIMULINK R2013 Trial
Hello, I have managed to receive a trial version of MATLAB and SIMULINK R2013 and downloaded the necessary files to start the...
11 years 前 | 1 个回答 | 0
1
个回答提问
C/C++ wrapper to invoke SIMULINK model/libraries in external software designs
Is it possible to use C/C++ wrapper functions to call SIMULINK models in an external environment such as Visual Studio or eclips...
11 years 前 | 1 个回答 | 1
1
个回答提问
How does the "Probe" block work
When I am probing something, surely I will like to have the value of it seen first. In SIMULINK, the probe block shows everythin...
11 years 前 | 0 个回答 | 0
0
个回答已回答
image to an array
Simply do this targetImg = imread("path"); targetImg = targetImg(:); % You can take a transpose too ...
image to an array
Simply do this targetImg = imread("path"); targetImg = targetImg(:); % You can take a transpose too ...
12 years 前 | 0
提问
Avoiding FOR loops to select a region in matrix and minimise computation time
Hello, I am trying to write a cross-correlation script where I need to slide my template across all rows and columns in ...
12 years 前 | 1 个回答 | 0