Community Profile

photo

Viren


Actif depuis 2013

Statistics

  • Thankful Level 1
  • First Answer

Afficher les badges

Content Feed

Afficher par

Question


Best way to send Mask Parameters to S-functions?
I have several Matlab level-1 s-functions inside a masked subsystem. The mask has many (40+) parameters that I need to propagate...

presque 8 ans il y a | 1 réponse | 0

0

réponse

A répondu
Run matlab function inside a simulink model
The global variables cannot be declared OUTSIDE the Function definition. You need to use the Data Store blocks provided in the S...

plus de 8 ans il y a | 0

Question


How do I tackle the artificial algebraic loops that Simulink detects?
This is a bit of a convoluted problem that deals with a slightly open ended question. I realize that StackOverflow frowns on thi...

plus de 8 ans il y a | 1 réponse | 0

0

réponse

Question


Memory block alternative that ISN'T fixed in minor time step?
I have a model with some inputs that are fed into a CMEX S-Function via the Memory block, and the S-Function provides outputs ba...

plus de 8 ans il y a | 1 réponse | 0

0

réponse

Question


Displaying Scope Legends Through Subsystems
I have a Simulink block that acts as a centralised output data block, collecting all data from simulation and sending it to work...

plus de 8 ans il y a | 1 réponse | 0

0

réponse

Question


Block Callback: How do I access block parameters in StartFcn?
I have a virtual subsystem with a bunch of parameters. I would like to use those parameters to calculate other properties of the...

plus de 8 ans il y a | 1 réponse | 0

0

réponse

Question


Masked Subsystem: How to pass a double vector to a constant?
This is a slightly long-winded problem, but should be easy to follow along. *End goal* : Input a 'double' vector into a C++ S...

presque 9 ans il y a | 2 réponses | 0

2

réponses

Question


Sources for learning the intricacies of Simulink?
Hi all I've been using Simulink at a very deep level for about six months now. But, I seem to be spending half my day getting...

presque 9 ans il y a | 2 réponses | 0

2

réponses

Question


Simulink - replace_block only works with SOME components?
Hi all I have a virtual subsystem with a mask. The mask allows the user to select either Enable or Disable for an option (see...

presque 9 ans il y a | 1 réponse | 0

0

réponse

Question


The Problem Of Multiple Gotos?
Hi all I have a conceptual difficulty. I have a library of components for heat transfer analysis. The output values from thes...

presque 9 ans il y a | 1 réponse | 0

1

réponse

A répondu
'Matlab Coder' generated code is NEVER of double type (only real_T)
That's even more useful. This is what I should have done in the first place. I must say I had nearly given up on the Matlab comm...

presque 9 ans il y a | 0

A répondu
'Matlab Coder' generated code is NEVER of double type (only real_T)
Ah. Makes sense. I actually _knew_ that real_T was the catch-all data type that matlab has, and I was making another error in my...

presque 9 ans il y a | 0

Question


'Matlab Coder' generated code is NEVER of double type (only real_T)
I'm trying to convert a piece of matlab code into C++ code. I have one large vector (100+ elements) as input and one large vecto...

presque 9 ans il y a | 4 réponses | 0

4

réponses

Question


Simulink: Why is it so hard to have copies of a block?
I have a library of different components for heat transfer analysis. Two of them are basically copies of each other (the evapora...

presque 9 ans il y a | 1 réponse | 0

0

réponse