Community Profile

photo

R


Last seen: 2 days ago Active since 2023

Followers: 0   Following: 0

Statistics

  • Knowledgeable Level 3
  • 6 Month Streak
  • First Answer

View badges

Feeds

View by

Answered
Crop geoglobe not to show the whole Earth without distortion of the view
The campos function sets or queries the position of camera for geographic globe. You can follow the example below from the MATLA...

4 days ago | 1

Answered
Convert Simulink to m file
It is not possible to convert a .SLX file into a .M file directly. You can only generate C, C++, or HDL / VHDL from Simulink mod...

9 days ago | 0

| accepted

Answered
i keep geting this error Unable to resolve the name 'looptuneGoal.StepTracking'. Error in PID (line 18) TR = looptuneGoal.StepTracking(RefSignals, Measurements, 0.05, 0);
Hi, I understand that you want to pass Design Goals, i.e., a TuningGoal object, into the "looptune" function. To create this Tu...

9 days ago | 0

Answered
How to fit a sine curve with only the maximum and minimum values
Hi Particia, Fitting a piecewise cubic Hermite ("pchip") curve might help with this use case. Here is an example of the same %...

20 days ago | 0

Answered
Error on opening MATLAB Function block in Simulink
Hi Tirthankar, I encountered a similar problem previously. In my case, the error occured because the path to the Simulink model...

20 days ago | 1

| accepted

Answered
How to delay an output signal by milliseconds
Hi, As a workaround, you can convert the input signal from 'bool' to 'double' using the Data Type Conversion Block and then pas...

24 days ago | 0

| accepted

Answered
Set a custom stoping criteria for Simulated Annealing
To set a stopping criteria for the "simulannealbnd" function, you can use the "MaxStallIterations" option. By setting it to 1000...

24 days ago | 0

| accepted

Answered
Why do I get iradon error saying THETA does not match the number of projections?
Hi Tevin, I understand that the projection data i.e. 'sinogram' is made up of 400x500 projections. Therefore, 'theta' value sho...

25 days ago | 0

| accepted

Answered
How do I change my graph output from the standard Cartesian look to one that resembles a map?
Hi Ritisha, To change the colours in the plot, you can utilize 'colormap'. You can create a custom colormap programatically or...

1 month ago | 0

Answered
how to convert structure variables into a simulink.parameter object
To convert the variables stored in the 'targetStruct' structure into a 'Simulink.Parameter' object, you can modify your code as ...

1 month ago | 0

Answered
Derivative of state '1' in block PV Array at time 0.0 is not finite error
Hi Nishant, This error occurs when some operation in the model returns "Inf" or "NaN" output. To debug this error, open Configu...

1 month ago | 0

| accepted

Answered
sltest.harness.create function input 'source' can't be set 'Signal Builder' in parameter pairs in matlab 2022b
Hello, I believe that Simulink is moving away from Signal Builder and therefore the harness support has been restricted. For re...

1 month ago | 0

Answered
Simulink real time desktop : I get the following error gmake: *** [coder_posix_time.o] Error 1, when trying to build "Run in real time" in "run in kernel"
Hey, I encountered a similar issue while trying to calculate simulation time. I found that the function "clock_gettime" is not ...

1 month ago | 0

Answered
C2000 Simulink:Error(s) encountered while building
Hi Brian, I assume you're running the simulation in external mode or have previously done so. As evident in the error log, the...

1 month ago | 0

Answered
本地启动opc服务器,通过代码可正常读写数据,但simulink的opc模块找不到该服务器
Hi Liang, There are different commands for connecting an OPC Server and an OPC UA Server, namely 'opcserverinfo' and 'opcuaserv...

1 month ago | 0

Answered
GPU Memory for dlconv
Hi David, The memory usage of MATLAB during training can be influenced by various factors, including the size of the input data...

2 months ago | 0

Answered
Can I open a MATLAB Animation block programmatically?
Hello William, I assume you are using the MATLAB Animation block from the Aerospace Blockset, which allows you to create six-d...

2 months ago | 0

Answered
本地集群怎么设置 MATLAB 的 worker数量呢?
Hi, I understand that you want to increase the default number of workers in the local cluster. Here's a step-by-step guide to h...

2 months ago | 0

Answered
Error executing command "touch -c /home/jetson/remoteBuildDir/MATLAB_ws/R2019b/C/Users/JSH/Documents/MATLAB/codegen/exe/MyNetJetson/*.*;make -f MyNetJetson_rtw.mk all MATLAB_
Hello, From the ouput log, I understand that you are using MATLAB R2019b and cuDNN version 8.0. The error "undefined reference ...

3 months ago | 0

Answered
mean square error as genetic algorithm cost fuction
Hi Antonio, To specify a custom cost function for the ga() function in MATLAB, you can define a function that takes the decisio...

3 months ago | 0

| accepted

Answered
Xilinx RFSoC Device - HDL Workflow Advisor
Hi Sudantha, The error appears to be a result of an incompatibility issue between the MATLAB Release version and the Xilinx Vi...

3 months ago | 1

| accepted

Answered
[Simulink] Create chirp signal in trigger subsystem block
Hi Nguyen, Thank you for providing your model and the output to explain your case. As you correctly identified, the ‘Chirp S...

3 months ago | 0

| accepted

Answered
How to Communicate PCI 6341 with BNC 2120 or 2110 in Simulink Desktop Real Time?
Hello Muhammad, NI MAX (Measurement and Automation Explorer) should recognize your NI device (PCIe-6341) when it's properly in...

3 months ago | 0

Answered
Why am I getting an : Error using sym/subsasgn (line 1058) Invalid indexing or function definition. Indexing must follow MATLAB indexing. Function arguments must be symbolic
Hello Hazel, This error occurs when using a symbolic variable as both a summation index for the "symsum" function and an index ...

3 months ago | 0

Answered
Error occurred when calling NLP solver "fmincon".
Hello Subhasritam, Usually, the first part of the error i.e.: Unexpected Standard exception from MEX file. What() is:bad allo...

3 months ago | 0

Answered
How to control Simulink Find&Relace by M-Script Code
Hi Yong, I recently came across a way to programatically rename data in Stateflow charts using a .M script. Refer to the exampl...

3 months ago | 0

Answered
axtoolbar cannot create some buttons
I could reproduce this issue in MATLAB R2021b. It seems like the 'datacursor' button is available from MATLAB R2023a onwards in ...

3 months ago | 0

Answered
desidero scrivere uno script che, data una matrice a, restituisce il nome di ciascuna colonna come segue : a1 = a(: , 1); ecc. ecc.
Hi Luigi, You can achieve the desired functionality by using the "eval" function in MATLAB. Here's an example of the same: num...

4 months ago | 0

Answered
Using Multiple Simulations tool in Simulink
Hi Andy, The detailed explanation and the model were a big help. I was able to reproduce the error and debug it. When giving th...

4 months ago | 0

| accepted

Answered
Configure AUTOSAR swAddrMethod for global variables automatically generated
Hi Elisa, Enabling the 'Generate separate internal data per entry-point function' in the model's config settings allows for ass...

4 months ago | 0

Load more