About 1,880,000 results
Open links in new tab
  1. Constant - Constant value - Simulink - MathWorks

    Use this block to provide a constant signal input. The block generates scalar, vector, or matrix output, depending on: The output of the block has the same dimensions and elements as the …

  2. How to declare global variables for simulink containing matlab ...

    May 26, 2015 · The canonical method for adding variables/constants across your Simulink model is to use the Model Explorer from the MODELING tab or by pressing Ctrl + H: select either the …

  3. define variable value in simulink model - MATLAB Answers

    Jan 22, 2024 · Use "Model Explorer" from View Option . Then Select Simulink Parameter and Add. Then Rename the 'Parameter' with the variable you set in the Simulation and write the …

  4. How to change Simulink constant block value to a constant variable ...

    I'm trying to find a way to set constant value in constant block in Simulink to a constant variable. Namely, I want to set the constant value to g*c/3. g and c values are optimized by fmincon and …

  5. global - How to initialize constants for a Simulink model from a MATLAB

    Feb 3, 2020 · You could have a single struct containing your variables, which can be selectively used in your Matlab Function blocks. This means you can just have a single Constant block …

  6. Call Custom C Functions in Simulink Using C Caller Block

    Map pointer variable from C function to Simulink (Pass-by-pointer type) incrementElement -Increases the value of an element of the input array. The index of the array element is …

  7. How to load matrix variables as constant on Simulink?

    Is it possible to load MATLAB variables on Simulink and use it as constant block value? All variables are N-d array. I found that there are several ways to load a variable on Simulink such …

  8. How to change Simulink constant block value to a constant variable ...

    Jun 10, 2014 · I'm trying to find a way to set constant value in constant block in Simulink to a constant variable. Namely, I want to set the constant value to g*c/3. g and c values are …

  9. matlab - How do I link a Simulink block variable to a model constant

    Nov 3, 2023 · I know I can do it through a Matlab script and save the values to the Workspace, but the preferred way would be through a constant block in the Simulink model. In other words, I …

  10. How to load matrix variables as constant on Simulink?

    Aug 26, 2021 · Is it possible to load MATLAB variables on Simulink and use it as constant block value? All variables are N-d array. I found that there are several ways to load a variable on …

  11. Some results have been removed