photo

Roop


Last seen: Today Active since 2024

Followers: 0   Following: 0

Programming Languages:
MATLAB
Spoken Languages:
English
Pronouns:
He/him

Statistics

  • Thankful Level 2

View badges

Feeds

View by

Question


Is it possible to create global variables (objects) of custom classes in Simulink?
Hello, I have a custom class that returns an object of complex data types, such as structs, variable-data type cell arrays, and...

5 dagen ago | 0 answers | 0

0

answers

Question


Can you create an object in Simulink that can be referenced by multiple MATLAB Fcn blocks?
I've attached an image with my current Simulink set-up. I am needing to replace the Interpreted MATLAB Fcn blocks with MATLAB Fc...

13 dagen ago | 1 answer | 0

1

answer

Answered
How to pass an object of handle class to the function constructing the app in App Designer?
When using coder.extrinsic, functions declared as extrinsic will return mxArray types. If you pass these to other Matlab functio...

14 dagen ago | 0

| accepted

Question


How to solve type mismatch error when assigning variable to class in conditional?
Example Code: 1 flag = true; 2 if flag 3 this.prop = TFlag(); 4 else 5 this.prop = FFlag(); 6 end ...

14 dagen ago | 1 answer | 0

1

answer

Question


How to pass an object of handle class to the function constructing the app in App Designer?
In my App Designer, the default function that constructs the app takes varargin as input. The function creates UIFigure and Comp...

18 dagen ago | 1 answer | 0

1

answer

Question


Is there a way to check code generation compatibility for a mlapp file?
I know for .m files you can use coder.screener() in the Command Window to get an analysis of code generation compatibility. Howe...

21 dagen ago | 1 answer | 0

1

answer

Question


How to initialize instance of class in Simulink Global Workspace?
Hello, I am aiming to create an object (instance of class) in the Simulink Global Workspace via code in the Preload Fcn Callbac...

22 dagen ago | 1 answer | 0

1

answer

Question


Are there any alternatives to try/catch statements that are supported by code generation?
I am trying to prepare an application (prepared in App Designer and connected to a Simulink model) to be packaged as a standalon...

28 dagen ago | 1 answer | 0

1

answer