How can I have a table from workspace as input to a Function Caller block
I have a table stored in the workspace. For this table I have defined several functions to read and post process the data contained in this table.
How to implement a copy of a subsystem but with different values for constants
I am currently developing a model of a flow through a pipe that I have stored in a subsystem and that I want to use several times inside a larger model as it shall have several pipes in it.
I am trying to connect the results of a mathematical block to an electrical circuit in simulink like in the cas of the CCS isn the diagram
where do i get the CCS block in simulink and the swithces?
Modelling External ADC Interface and control system in simulink for Implementing in FPGA
I am developing a control system in simulink that takes in the data from external ADC and executes the control model based on the data. My goal is to use FPGA and the project consists of 2 blocks, 1) ADC acquisition block and 2) Control algorithm block. I completed the control algorithm (fixed point) and everything works fine in simulation. Now in real world, i need to interface to external ADC (AD7606 simultaneous sample), collect 4 channels of data and then feed the control algorithm to get the desired output. Control algorithm runs at 20KHz.