답변 있음
Best way to protect intellectual property in a Simulink model?
If you open the model then go to File -> Export Model to -> Protected Model. This menu will give you the option to only allow si...

거의 10년 전 | 1

| 수락됨

답변 있음
how to create a binary to decimal/decimal to binary function file
Since bin2dec returns a string you could use the isa command to see if the value is a string or a numeric command. In the follow...

거의 10년 전 | 0

답변 있음
How can I use an input to change the initial condition of an integrator block in Simulink?
If you right click on the integrator block and go to block parameters there is an option for initial condition source. Change th...

거의 10년 전 | 1

답변 있음
How do I get simulink code generation to recompile each time, even if the model is unchanged?
You can force a model to rebuild every time during Simulation by going to Configuration Parameters -> Simulation Target -> Simul...

거의 10년 전 | 1

답변 있음
Simulink: How to use a structure as output signal?
In Simulink structured data is represented as Simulink.Bus objects to create a Simulink Bus you can do this by typing in your wo...

거의 10년 전 | 0

| 수락됨

답변 있음
How do you send your code to the next line while using the disp comand?
Based upon the formatting you want to do I would suggest using sprintf instead of disp with sprintf you can use format specifica...

거의 10년 전 | 0

답변 있음
Share variables between two popup menu? please help.
Without knowing your code structure it is hard to give you the best answer possible. But an option that would work could be to u...

거의 10년 전 | 0

답변 있음
function prodby2 with for loop that will give you product of odd integers
The following function should produce what you are looking for function output = prodby2(n) if n>0 output = 1;...

거의 10년 전 | 0

답변 있음
What do brackets mean in this expression, y(Z)?
In this case Z is being used to reference the y array. Since Z is also an array, for each value of Z the y array will be referen...

거의 10년 전 | 1

| 수락됨

답변 있음
Sil - mil compare for simulink model
Yes, it is a common workflow in Simulink to compare simulation runs in MIL against a SIL run. To accomplish this one of the best...

거의 10년 전 | 1

답변 있음
How to provide absolute path of include directories in code generation?
It is possible to include files using a relative or absolute paths. The syntax for relative paths is shown in the following link...

거의 10년 전 | 0

| 수락됨

답변 있음
How to delete an repeated values in this case?
Hi Arul, Does the command unique([allR11; allR21]) get you the result you are looking for? The unique command removes repe...

거의 10년 전 | 0