Feeds
질문
Export Simulink model to script that programmatically creates it
Is it possible to take a Simulink model and export the code that would programmatically create it? For instance, it would make a...
1년 초과 전 | 답변 수: 1 | 0
1
답변답변 있음
Why is my Simulink Real-Time "File Scope" missing samples in logged data (R2020a and earlier)?
What would be the optimal settings for a File Scope block to prevent any loss of data, whether or not the model completes or err...
Why is my Simulink Real-Time "File Scope" missing samples in logged data (R2020a and earlier)?
What would be the optimal settings for a File Scope block to prevent any loss of data, whether or not the model completes or err...
거의 2년 전 | 0
질문
Another handles and guidata(hObject) in a Callback question
I've been do a lot of reading about how to properly use the "handles" variable and how to interact with the master copy through ...
5년 초과 전 | 답변 수: 0 | 0
0
답변질문
How can I increase heap space for Visual Studio when building Simulink targets?
My model uses larger matrices and Visual Studio 2017 runs out of heap space when compiling. What flags need to be set for the co...
5년 초과 전 | 답변 수: 0 | 1
0
답변질문
Update a Line Array in one call?
Is it possible to update a line array in one shot instead of using a for loop? Here is example code. You can see I need to perfo...
거의 6년 전 | 답변 수: 1 | 0
1
답변질문
Automatic signal route optimization for Simulink?
I thought I saw some video recently for Simulink where you can have it automatically clean up the signal paths in a model. Is th...
거의 6년 전 | 답변 수: 1 | 0
1
답변답변 있음
Simulink scope only save the last 1 second data to workspace?
If you are using a Target Scope set to File Scope, you need to check the "Auto Restart" option at the bottom of the File Scope w...
Simulink scope only save the last 1 second data to workspace?
If you are using a Target Scope set to File Scope, you need to check the "Auto Restart" option at the bottom of the File Scope w...
거의 6년 전 | 0
질문
With Simulink Real-Time and Multi-Rate Subsystems, is there a way to set a "block execution finished" flag?
I have a multi-rate simulink real-time model with data dependency. I'm trying to figure out a good way to notifiy blocks when da...
거의 6년 전 | 답변 수: 0 | 0
0
답변질문
Generate Simulink model from script
Is there a way to generate an SLX model from a Matlab script? I have a custom Simulink library and the models I want to automati...
거의 7년 전 | 답변 수: 2 | 2
2
답변질문
Improving speed of line plotting
Is there any way to improve the speed of plotting 1000 lines at once? I am drawing an animation of a wireframe building using so...
7년 초과 전 | 답변 수: 0 | 0
0
답변질문
How to get a large data set into an xPC Target model
I want to add a large data set into my xPC Model so it can pull from it every step as the input but run for a long time. So I tr...
7년 초과 전 | 답변 수: 1 | 0
1
답변질문
How to print out the exact value for a variable in the workspace?
I have both scalar and matrices that I want to print out to the workspace. I'm using num2str() and mat2str() but I am finding th...
7년 초과 전 | 답변 수: 2 | 0
2
답변질문
Enabling a subsystem in a multi rate Simulink model at specific time or with a delay
I have a multi rate model in Simulink with 3 rates. A (0.1), B (0.2) and C (0.8). This is meant to run in real-time and the rate...
7년 초과 전 | 답변 수: 1 | 1
1
답변질문
Bus object for a Structure has so many duplicate buses. How to consolidate?
I have a structure that has nested structures. I use Simulink.Bus.createObject to create a bus object so I can use it in my Simu...
7년 초과 전 | 답변 수: 1 | 0
1
답변질문
Simulink takes a long time to start a model with a Embedded Matlab block
I have an embedded matlab block that contains a decent amount of code. When I start the Simulink model, the status bar shows tha...
7년 초과 전 | 답변 수: 1 | 0
1
답변답변 있음
Multi-rate model concurrent execution
I believe for explicit partitioning, everything at the root level needs to be referenced models or system blocks and mapped usin...
Multi-rate model concurrent execution
I believe for explicit partitioning, everything at the root level needs to be referenced models or system blocks and mapped usin...
거의 8년 전 | 0
질문
Using a From Workspace block inside an enabled subsystem
When I use a "From Workspace" block inside an enabled subsystem, the source signal is referenced from the global time. Is it pos...
거의 9년 전 | 답변 수: 1 | 0
1
답변질문
Preventing a Matlab Function from recompiling in Simulink
I have a Matlab Function block that takes a while to generate code when I execute my simulation. When I change some stuff outsid...
거의 9년 전 | 답변 수: 1 | 0
1
답변답변 있음
How to call extrisic m-file contains function handle in SIMULINK user-defined MATLAB function?
Have you solved this problem? I am having the same problem.
How to call extrisic m-file contains function handle in SIMULINK user-defined MATLAB function?
Have you solved this problem? I am having the same problem.
거의 9년 전 | 0
질문
Is there a way to guaranteed floating point accuracy between MATLAB and SIMULINK?
I run the same code in MATLAB and SIMULINK (MATLAB Embedded Block) and at times get slightly different results. I notice it is b...
대략 9년 전 | 답변 수: 1 | 0
1
답변질문
xPC (Simulink RT) compiler optimization flags
Is it documented anywhere on what flags are available to use for the xPC optimization settings? Typically I use Optimizations On...
9년 초과 전 | 답변 수: 1 | 0
1
답변질문
Some Constant blocks not tunable in Simulink External Mode
I'm running 2014a and I am using a Simulink model in External run mode. I have a few constant blocks I'd like to change the valu...
9년 초과 전 | 답변 수: 1 | 0
1
답변질문
How to view build process log with SIMULINK in R2014a?
With the update of SIMULINK in R2014a, when I click the Build Model icon, I no longer see the build output in the MATLAB window....
대략 10년 전 | 답변 수: 0 | 0
0
답변답변 있음
Simulink Real-time Target screen stops responding but model is running
getparamid and get() to interact from the Matlab UI to the xPC. I think there may be a hardware issue with one of my boards insi...
Simulink Real-time Target screen stops responding but model is running
getparamid and get() to interact from the Matlab UI to the xPC. I think there may be a hardware issue with one of my boards insi...
10년 초과 전 | 0
질문
Simulink Real-time Target screen stops responding but model is running
What would cause the Simulink RT Target screen to freeze up but the underlying model continues to run? There is no error on the ...
10년 초과 전 | 답변 수: 2 | 0
2
답변질문
Way to Iterate through struct fields for code generation in Matlab Embedded Function for Simulink
I have a Struct variable being passed into my Matlab Function inside Simulink, ie: MyStruct.Field1.(some more fields) ...
10년 초과 전 | 답변 수: 0 | 1
0
답변답변 있음
Reset a counter in a conditional subsystem
Nevermind, I figured out that I need to change the enabled state from 'held' to 'reset' inside the Enabled Subsystem with the co...
Reset a counter in a conditional subsystem
Nevermind, I figured out that I need to change the enabled state from 'held' to 'reset' inside the Enabled Subsystem with the co...
10년 초과 전 | 0
| 수락됨
질문
Reset a counter in a conditional subsystem
I want to conditionally start and stop a counter however when the counter is enabled again, I want it to reset. Is this possible...
10년 초과 전 | 답변 수: 1 | 0
1
답변질문
Get the xPC Target (Simulink Real-time) message log to the host computer
With the new xPC Target interface, the message log of all the system actions is smaller (9 lines to 6 lines) and scrolls through...
10년 초과 전 | 답변 수: 1 | 0
1
답변답변 있음
Change update rate of Simulink Real-time Instrument Panel
Well, I restarted Matlab and the model and now everything works smoothly. Not sure what went wrong. Thanks everyone. I think the...
Change update rate of Simulink Real-time Instrument Panel
Well, I restarted Matlab and the model and now everything works smoothly. Not sure what went wrong. Thanks everyone. I think the...
10년 초과 전 | 0
| 수락됨