Community Profile

photo

Thomas Marullo


Lehigh University

Last seen: 4 days ago Active since 2012

Statistics

  • First Review
  • Revival Level 2
  • Thankful Level 3
  • First Answer

View badges

Content Feed

View by

Question


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...

10 months ago | 1 answer | 0

1

answer

Answered
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...

1 year ago | 0

Question


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 years ago | 0 answers | 0

0

answers

Question


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 years ago | 0 answers | 1

0

answers

Question


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...

5 years ago | 1 answer | 0

1

answer

Question


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...

5 years ago | 1 answer | 0

1

answer

Answered
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...

5 years ago | 0

Question


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...

5 years ago | 0 answers | 0

0

answers

Question


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...

6 years ago | 2 answers | 2

2

answers

Question


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...

6 years ago | 0 answers | 0

0

answers

Question


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 years ago | 1 answer | 0

1

answer

Question


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 years ago | 2 answers | 0

2

answers

Question


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 years ago | 1 answer | 1

1

answer

Question


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 years ago | 1 answer | 0

1

answer

Question


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 years ago | 1 answer | 0

1

answer

Answered
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...

7 years ago | 0

Question


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...

8 years ago | 1 answer | 0

1

answer

Question


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...

8 years ago | 1 answer | 0

1

answer

Answered
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.

8 years ago | 0

Question


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...

8 years ago | 1 answer | 0

1

answer

Question


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 years ago | 1 answer | 0

1

answer

Question


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 years ago | 1 answer | 0

1

answer

Question


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....

9 years ago | 0 answers | 0

0

answers

Answered
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...

9 years ago | 0

Question


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 ...

9 years ago | 2 answers | 0

2

answers

Question


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) ...

9 years ago | 0 answers | 1

0

answers

Answered
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...

9 years ago | 0

| accepted

Question


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...

9 years ago | 1 answer | 0

1

answer

Question


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 years ago | 0 answers | 0

0

answers

Answered
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 years ago | 0

| accepted

Load more