Answered
loop not recording array
Note: Handcoded from memory. Loops are unnecessary in this case. differences = diff(raininches); avgdiff = mean(...

8 månader ago | 0

Answered
Generate c function from simulink subsystem
Make the subsytem that you want to create C code as "Atomic Subsystem". If you have an atomic subsystem in Simulink and you w...

8 månader ago | 0

Answered
how to assign values of one editfield to another editfield in masking a simulink subsystem
1. Open the Mask Editor (ctrl + M). Add the parameters in *Parameters & Dialog* Section as *edit field* types give the names for...

8 månader ago | 0

Answered
Opaque bus creator, do not permit to change options
Press ctrl+d (compile model) and select the appropriate signal to propagate.

8 månader ago | 0

Answered
Invalid block diagram name supplied
The block name has to be a valid MATLAB name. Make sure it follow the naming conventions.

8 månader ago | 0

Answered
How can I change SlopeAdjustmentFactor ?
You need to use Datatype Conversion block and set the Output data type to fixdt(0, 16, 1) [where 1 is the SlopeAdjustmentFactor]...

8 månader ago | 0

| accepted

Answered
Why is my pv array in simulink not the update blue version?
Background is supposed to be white in color as per documentation <https://www.mathworks.com/help/sps/powersys/ref/pvarray.html *...

8 månader ago | 0

Answered
How to find the value of variable in the library?
Click on the subsystem and press ctrl + M and go to initialization. And make sure to check out all the callbacks of the subsy...

8 månader ago | 0

Answered
measuring the time between two point of signal
<</matlabcentral/answers/uploaded_files/1556087/IMG_4187.jpg>> <</matlabcentral/answers/uploaded_files/1556092/IMG_4186.JPG>>...

8 månader ago | 0

| accepted

Answered
Unlock and edit Simulink toolboxes
Like your last option is the safest. I don't have the Aerospace Toolbox but if you are able to see the contents of the subsytem....

8 månader ago | 0

Answered
Simulink - How to exctract the exact time the derivative is different from 0?
Although it might be not what you are looking for. It definitely should help you get further. <</matlabcentral/answers/upload...

8 månader ago | 0

Answered
How to get Signal names directly using out.simout block in simulink?
I would rather suggest you to log the labeled signals and visualise it in *Simulink Data Inspector* which can later be exported ...

8 månader ago | 0

Answered
Simulink - How to extract the time when the signal is on?
So if your goal is to output a signal when the yellow signal is off. You could simply use a not logical operator <https://de....

8 månader ago | 0

Answered
Simulink to workspace doesn't work
Double click To workspace block. Select the "Save Format" as Array. By the way, the one you have is timeseries. You can si...

8 månader ago | 0

| accepted

Answered
I have license expire problem
Like it says, contact MathWorks Support Team or your system administrator

8 månader ago | 1

| accepted

Answered
The name of these symbols in Simulink
Green -> Step block Yellow -> Gain block Red -> To Workspace block Blue -> Terminator block

8 månader ago | 0

Answered
Attached one symbol . kindly help to find out the symbol name in simulink
Looks like there’s no any built in Simulink blocks as you show here. Perhaps contacting the author of the document is a good ide...

8 månader ago | 0

Answered
How to debug effectively inside MATLAB function block in Simulink?
Debugging MATLAB Function Block is the same as you would normally debug MATLAB Code. Additional advantage is that you can watch ...

8 månader ago | 0

Answered
Setting parameters in Signal Editor block in simulink
<https://www.mathworks.com/help/simulink/ug/import-custom-file-type.html>

8 månader ago | 0

| accepted

Answered
How can I show values of a library block parameters?
you can use MATLABFucntion block and use get_param(gcb, "Fully_charge_voltage") to get the value of the masked parameter. Assumi...

8 månader ago | 0

Answered
Turning voltage on/off in a PV Array and DC motor simulation
Use <https://www.mathworks.com/help/sps/powersys/ref/igbt.html *IGBT*> instead of the block that you show in the picture. You ca...

8 månader ago | 0

Answered
For iterator subsystem output cannot hold one sample time
The picture doesn't show the x axis ticks. The input signal values are not shown to us. It is important to note that the signal ...

8 månader ago | 0

Answered
How to use a Simulink.Signal object to generate code?
Make sure that the signal resolves to Simulink Object. If it still causes problem , provide a screenshot of how the signal is be...

8 månader ago | 0

Answered
How do I switch on and off my voltage source to charge batteryes based off of my current state of charge?
I don"T have Simscape License. But the logic can be implemented. Feed the SOC signal to the switch <https://www.mathworks.co...

8 månader ago | 0

| accepted

Answered
F28379d Communication Protocol Error
Seems like a similar issue from <https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcon...

8 månader ago | 0

Answered
i want to develope DC to DC converter that contain diode, inductor, mosfet etc so can i develope these blocks using basic simulink library instead of simscape?
Yes, you can. See the link ( <https://www.mathworks.com/help/sps/power-converters.html *Power Converters*> ) for different types...

8 månader ago | 0

Answered
I am trying to run the following example but encountered an error.
See the link to simulate the model in accelerator mode <https://www.mathworks.com/help/sldo/ug/accelerating-model-simulations-du...

8 månader ago | 0

Answered
Export Symbols attributes in Stateflow
You can turn on the option to display the attributes by default and by doing this it’s always easier for others to understand wh...

8 månader ago | 1

Answered
Why don't I get a direct error message for an undefined mask variable of a Simulink block if this is a partly undefined structure element?
Looks like by default it doesn’t highlight in red when it’s a struct field which is undefined. You could either give each ma...

8 månader ago | 0

| accepted

Load more