photo

David Balbuena

Last seen: 2 days ago Active since 2020

Followers: 0   Following: 0

Statistics

All
  • First Review
  • 5-Star Galaxy Level 1
  • First Submission
  • GitHub Submissions Level 1
  • Revival Level 1
  • First Answer

View badges

Feeds

View by

Answered
AST --> CGScope Error When Using Custom Code
You're hitting a bug with the parser that Simulink uses to parse through all symbols in your header file. If you are able to sha...

2 months ago | 0

Answered
C Caller with Multidimensional Signals in Simulink
You need to specify the dimension is "3" on the C Caller block:

3 months ago | 0

Answered
Simulink C-caller with persistent fcn
You could use the C Function block instead. The C Function block lets you put that code directly in the block mask, and it also ...

3 months ago | 0

Answered
Problem with C-Caller
Your model runs and produces results on my end. It's possible that the scope is not scaled properly for you to see the output. T...

1 year ago | 0

Answered
Non-static tunable parameters in C++ class code generation.
Generating non-static parameters is supported starting in R2021a. See this post for instructions on how to configure the model: ...

1 year ago | 0

Submitted


Simscape Multibody Reduced Order Flexible Cylinder
Get started with the Reduced Order Flexible Solid block using a simple cylinder

2 years ago | 6 downloads |

Thumbnail

Answered
How can I debug a simulink C caller block in Visual Studio?
In R2022a, a new feature was introduced to make it easy to debug custom code. You can refer to this page: https://www.mathworks....

3 years ago | 0

Answered
Signal Logging in a Protected Reference Model
Hi Vincenzo, You are correct that you cannot log signals inside a Protected Model. As a workaround, you have 3 options: 1) Bri...

4 years ago | 0

Answered
Using Discrete PID Significantly Slows Down Simulation
This is most likely happening because you have a discrete controller driving a continuous variable-step plant. As mentioned in t...

4 years ago | 1