Githin George
Followers: 0 Following: 0
Python, C++, C, Java, C#, Javascript, SQL, HTML, CSS
Spoken Languages:
English
Statistics
RANK
744
of 296,109
REPUTATION
100
CONTRIBUTIONS
0 Questions
94 Answers
ANSWER ACCEPTANCE
0.00%
VOTES RECEIVED
10
RANK
of 20,339
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
Fastest way to find the values and indices of the entries of a vector X that are closest to each entry of a matrix A.
You can vectorize the operation as shown below: X = 0:0.05:1; % the vector A = rand(5000); % the matrix %% Vectorized Approac...
16 days ago | 1
| accepted
how to clear the diagnostic viewer on call of sim(..)
Hi Stefan, I did come across a way to distinguish diagnositc viewer messages for subsequent simulation runs. You will need to ...
16 days ago | 0
| accepted
Can't find where caused this "Unable to compile data properties" error in Simulink
Hello Cheng, I suspect that the issue is arising because the size of the output signal of for your “MATLAB Function Block” cann...
16 days ago | 1
| accepted
Code Generation Error with S-Function
Hi Serhat, You might have missed adding your dependencies (multiplier.cpp) to your S-Function in the block parameters. This usu...
16 days ago | 1
| accepted
Error with addpath in MATLAB Runtime when Using ROS 2 Custom Messages in a Deployed Application
I am assuming that you are using MATLAB Compiler to create a ROS 2 application which registers custom ROS 2 messages during exec...
17 days ago | 0
| accepted
S-function parameters must be one or two dimensional nonsparse numeric or character arrays unless the S-function uses a TLC file and has an mdlRTW function
As the error message is suggesting, your S-function may be dealing with types other than one or two dimensional nonsparse numeri...
18 days ago | 0
Whay not working saveChanges(DD) in mscript?
Hi Sua, I could find some issues in the script, and I have fixed it. I am making a few assumptions along the way (check the c...
18 days ago | 0
Error:Error evaluating 'InitFcn' callback of MPC block (mask) 'ControlSyst/MPC Controller1'. Callback string is 'impcblock_InitFcn' Caused by: You have connected a signal
Hi Ahmad, I have tried running the model with the “param_init” script that you have provided but it seems that “mpcobj” (MPC Co...
18 days ago | 0
Array of SimulationInput objects gets modified upon running with sim command
Hi Afzal, Without looking at the implementation for the “PreSimFcn” and “PostSimFcn” it is difficult to predict how the “simIn”...
19 days ago | 0
Simulation output differs when optional modules are enabled
Hi Thomas, As mentioned by Paul, there could be various reasons for the difference in simulation outputs, such as the block ex...
20 days ago | 0
DSP HDL Coder - NCO mixed types error
Hi Mark, It Seems that HDL Code Generation is not supported for the “NCO” block if the input types are not “fixed-point”. As pe...
20 days ago | 0
importhdl never ends and hangs on in Parsing
Hi Julian, The message “Parsing <a href="matlab:edit('')” seems to suggest that there could be something wrong with the input f...
20 days ago | 0
Model Advisor "Fix" Button Disabled in Toolbar but functional via "Fix this Check"
Hi Natalie, I was able to come across the function “setActionEnable” to enable the “fix” icon in the toolbar for the custom Mod...
26 days ago | 0
Remote address for Simulink TCP/IP block as parameter/variable from workspace?
Hi Wilfried, You can set the “Remote Address” parameter of the TCP/IP Block from a MATLAB script in the following way. blockPa...
3 months ago | 0
Matlab migration from 2019b to 2021b
Hello Poornachandran, Migrating Simulink models to a newer version involves several considerations. While there aren't any defi...
3 months ago | 0
Protected model fails to build
Hello Robrecht, I have a created an example model that implements a wrapper inlined S-Function as described in the documentatio...
3 months ago | 0
Build issues for custom target file in 2024b verions. Error in "emmintrin.h"
Hello Kiruthika, The file "emmintrin.h" is a header file associated with Intel x86_64 instruction set extensions for SIMD, spe...
3 months ago | 0
| accepted
After each restart, the parameters of the multimeter blocks change randomly (Simulink Simscape Electrical - Specialized Power Systems)
Hello Torben, I have never encountered a similar issue with the “Multimeter Block”. From your description this seems like a bug...
3 months ago | 0
| accepted
Initfcn callback wont update during the sensitivity analysis of my model
Hi Angelo, The issue seems to be reproducible only for variables in a model/block/mask callback and I was unable to find any li...
3 months ago | 0
IP Address in Hardware Implementation (External Mode in Configuration Parameters) is not used for code generation
Hi Lars, It seems like there is no option to change the IP address of the target board from the Configuration Parameters Dialog...
3 months ago | 0
Simulation output missing in Test manager, when using Test sequence input, for baseline testing
Hello Anand, Given that you are able to observe the “Simulation Outputs” in another system and not able to view the same in you...
3 months ago | 1
How to correctly abort a running Matlab function/thread in a .NET Assembly in .NET8?
If creating a separate process is not helpful, you could try using Cancellation Token to signal that a task should stop. The tas...
4 months ago | 1
Is there a better way to organise my data dictionary and still have acces in Simulink and Stateflow?
Hi Danus, Managing data dictionaries in Simulink can indeed be challenging for large models. But you could try out the followin...
4 months ago | 1
Unable to delete derived entry in sldd
I am assuming that you might be using "Interface Dictionaries" and linking it to the "Data Dictionary" in the Simulink model. T...
4 months ago | 0
Class Method's 'IntelliSense' & 'help(f1) description' doesn't show - Is MathWorks working to add this feature?
Hello Cody, I would say there are 2 separate issues which are to be considered here. An option to enhance the tab-complete fea...
4 months ago | 0
| accepted
Is there any way to determine if an app is being ran as a compiled executable via MATLAB Runtime or as a mlapp file via MATLAB?
Hi Austin, You can try using the "isDeployed" function in MATLAB to determine whether the MATLAB code is running from a compile...
4 months ago | 1
| accepted
Specifying a registered toolchain
Hello Engenuity, I understand that you are facing issues with the toolchain configuration for your Simulink model. I noticed th...
4 months ago | 0
Can't use structs as outputs from simulink models
Hello, The error message that you have provided indicates that “struct” objects cannot be the output of a “MATLAB function” blo...
11 months ago | 1
Get the position of a single freehand ROI on axes with a click
Hello, I have played around with some basic code snippets in MATLAB R2023a, to see if the data related to the ROI can be displa...
11 months ago | 0
How to provide Phase difference between PWM pulses from Arduino by Simulink?
Hello, I understand that you would like to generate high frequency pulses from Arduino in pin 12 and pin 11 with the added co...
11 months ago | 0