Community Profile

Dhruvesh Patel

MathWorks

Active since 2016

Followers: 0   Following: 0

Message

Engineer at MathWorks.

Statistics

All
  • Revival Level 1
  • Knowledgeable Level 2
  • First Answer
  • Solver

View badges

Feeds

View by

Answered
How can I get the figure handle of a Scope window programmatically, given only the Scope block's full path name?
There does not seem to be a documented way of getting handle to the scope window from the full-name of the scoped block. How...

7 years ago | 1

| accepted

Answered
Interface large C project by simulink
Simulink provides <http://in.mathworks.com/help/simulink/c-c-s-functions.html C-Mex S-Functions> to bring in legacy C code into ...

7 years ago | 0

Answered
Compile c++ code that uses MATLAB Engine in Ubuntu 16.04 , through g++
The Mathworks' documentation for calling MATLAB engine in a C/C++ application is pretty comprehensive and easy to understand. I ...

7 years ago | 0

| accepted

Answered
Mex file created with coder together with a standalone mcc program
Since you have not mentioned the error, I would like to point you to a couple of general resources which might help you resolve ...

7 years ago | 0

Answered
How to pre-allocate changeable size arrays in a for-loop?
Your code indeed is difficult to read. However here are some general pointers which might help you undersatnd what is going on u...

7 years ago | 1

Answered
Agent based modelling with MatLab
As I understand, you wish to use agent/event based modelling to model a supply network. As far as I understand, the <https:/...

7 years ago | 3

| accepted

Answered
Matlab Engine / Linux problem - Linker Errors...
As I understand, you are calling MATLAB engine in your C/C++ application and facing linker errors which are thrown while looking...

7 years ago | 1

Answered
Bus object for a Structure has so many duplicate buses. How to consolidate?
The behavior which you are observing is expected because you are constructing the bus from a nested struct. Hence every time (tw...

7 years ago | 0

| accepted

Answered
how to add custom header to each file ?
I assume that you are looking for a way to automatically add metadata like author name, version, description, etc., to a .m file...

7 years ago | 0

Answered
.NET assembly created by Matlab NE Builder cannot be used from Matlab ("The type initializer for ... threw an exception")?
This is a documented limitation. Please refer the following answer. <http://in.mathworks.com/matlabcentral/answers/99854-is-i...

7 years ago | 0

Answered
How to calculate roll, pitch and yaw from XYZ coordinates of 3 planar points?
I assume that you are following Euler Angle convention of roll-pitch-yaw in the order of X-Y-Z. You have three coplanar points P...

7 years ago | 8

| accepted

Answered
Setting output of a continuous S-Function
If I am understanding correctly, you are trying to update the output of a MATLAB S-function block conditionally. The followi...

7 years ago | 0

Solved


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

8 years ago

Solved


Project Euler: Problem 1, Multiples of 3 and 5
If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23...

8 years ago