답변 있음
Adding legends for a plot in matlab function block.
There is a way to deal with this type of error. https://www.mathworks.com/help/coder/ug/function-is-not-supported-for-code-gen...

대략 2년 전 | 0

답변 있음
Import large txt partially
Utilize Tall Arrays ? Deferred Evaluation of Tall Arrays

대략 2년 전 | 0

답변 있음
Persistent variables counting differently than integrator
The MATLAB Function block is executed at every simulation step. The counting algorithm does not give a weight to the time elaspe...

대략 2년 전 | 0

| 수락됨

답변 있음
Simulink: Update figure in matlab function
This could work. The key is to declare a global variable in both the figure_init() function and update_plot() MATLAB Function bl...

대략 2년 전 | 0

답변 있음
How to get the stored integer representation of a single-precision floating point in simulink (HDL Coder)?
Use a MATLAB Function block sprintf('%tx',single(0.1))

대략 2년 전 | 0

답변 있음
How to observe the result of an unbounded array in simulink?
Depending on the value of frequency and fft_points, the length of "result" could vary dramatically, thus "unbounded". In Simuli...

대략 2년 전 | 1

| 수락됨

답변 있음
making a simulink model ?
Rate Limiter block

대략 2년 전 | 1

| 수락됨

답변 있음
Simulink: How can I find the where the signal dimensions of a signal are defined?
Select your signal, find its source block where the dimension of this signal is specified as -1. There might be multiple input s...

대략 2년 전 | 0

답변 있음
How to dynamically generate a variable name based on the instance of a masked subsystem within a library block in Simulink?
That is right. Passing a string name through mask is difficult if not impossible. But what you really need is to log signals a...

대략 2년 전 | 0

| 수락됨

답변 있음
How To Include One Instance Of A Block In A Model
I don't see a solution other than, either Don't use subsystem references. Use customized library instead. Or, Ask your vendor ...

대략 2년 전 | 0

답변 있음
simulink input signal from function
You can use your script in a "MARLAB Function Block" but need to do some adjustments. Understand this. Your current script does ...

대략 2년 전 | 1

| 수락됨

답변 있음
Which block should be used for numel function in simulink?
The Width block

대략 2년 전 | 0

답변 있음
Finding the toolboxes required for a Simulink Block
I usually go search for "system requirements" for the toolbox. In this case, the toolbox directly needed for that block is "RF B...

대략 2년 전 | 0

답변 있음
add_block('powertrainlib/Powertrain','Generator_to_Electric_Motor/Powertrain’);
The full path of the source block is incorrect. The best way to handle this, is to do it manually. If you are able to open the ...

대략 2년 전 | 0

답변 있음
Controlling the operator of a relational operator block inside a protected model
In the model, have 5 (for example) relational operator blocks. Each block applies one of the relational operators that you want....

대략 2년 전 | 1

답변 있음
Variable Naming in code generation
Take ert.tlc for example, under Code Generation, Identifiers, there are settings that you can change to adjust the Auto-generate...

대략 2년 전 | 2

| 수락됨

답변 있음
How to get 'gcb' information including a 'for each' index
The "InitFcn" runs only once before each simulation. Whatever info got set to the block is static. The "index" of the "for each"...

대략 2년 전 | 0

답변 있음
How to create an ExportedDefine global variable in Simulink for Code Generation?
Create a Simulink.Parameter, specify the storage class as "Define".

대략 2년 전 | 0

| 수락됨

답변 있음
Simulink Error/Warning: "Signal with under-specified data types" in Motor Control Blockset blocks
set the "Output data type" of that "Data Type Conversion" block to be 'single', instead of leaving it as default.

대략 2년 전 | 0

| 수락됨

답변 있음
Trubleshooting system model IEEE 906
Both this error message and the popup window indicate that European_LV_graph_1segment.m is not found. The file is listed in the ...

대략 2년 전 | 0

답변 있음
Using Signal Logging for Test Harness to Matlab Workspace
doc matlab.unittest.TestResult help matlab.unittest.TestResult

대략 2년 전 | 0

답변 있음
Model Advisor configuration fails to save
Make sure to click "Apply" on that check. Save to a .json file. Close and then Open the .json file.

대략 2년 전 | 2

| 수락됨

답변 있음
Importing data to a 2-D Lookup Table Simulink
The data is not in the right shape to do this. There are too many duplicated (x,y) pairs. For the dupicated (x,y) pairs, the z ...

대략 2년 전 | 0

답변 있음
Remove postcodegencommand from Simulink model
https://www.mathworks.com/support/search.html/answers/109355-call-and-execute-matlab-script-function-post-real-time-workshop-bui...

대략 2년 전 | 0

| 수락됨

답변 있음
Assigning mask parameters to protected models
You need to follow this. https://www.mathworks.com/help/simulink/ug/parameterize-referenced-models.html

대략 2년 전 | 0

답변 있음
what happens behind "/"
help /

대략 2년 전 | 0

답변 있음
create cell from array with specified size
num2cell(mymatrix)

대략 2년 전 | 0

답변 있음
Configure signal logging programmatically (Simulink)
You could re-set all those 200 signal loggings and then set what you want to log programingly. lh=find_system(ModelName,'FindAL...

대략 2년 전 | 0

답변 있음
Convert date data in datetime
You could treat the last two digits as duration. Code below is not optimized but gives the correct result. load Data.mat; date...

대략 2년 전 | 1

답변 있음
How to configure set_param() per instance for arrays
This is "For Each Subsystem". You need to know how to use it. See the document and examples. https://www.mathworks.com/help/sim...

대략 2년 전 | 0

| 수락됨

더 보기