![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/10507334_1530383604500.png)
Nick Sarnie
MathWorks
Followers: 0 Following: 0
I work as a developer on the Embedded Coder team at MathWorks and have a background in Computer Science.
My professional interests are Compilers, Code Generation and Performance.
DISCLAIMER: Any advice or opinions posted here are my own, and in no way reflect that of MathWorks.
Statistica
0 Domande
37 Risposte
RANK
1.279
of 293.470
REPUTAZIONE
52
CONTRIBUTI
0 Domande
37 Risposte
ACCETTAZIONE DELLE RISPOSTE
0.00%
VOTI RICEVUTI
6
RANK
of 148.733
CONTRIBUTI
0 Problemi
0 Soluzioni
PUNTEGGIO
0
NUMERO DI BADGE
0
CONTRIBUTI
0 Post
CONTRIBUTI
0 Pubblico Canali
VALUTAZIONE MEDIA
CONTRIBUTI
0 Punti principali
NUMERO MEDIO DI LIKE
Feeds
How to use S function in SIL process?
Hi Anand, S-Function Builder should generate a TLC file that is used to inline the S-Function, making it fully supported for co...
oltre 4 anni fa | 0
Embedded coder single task tunable time step
Hi Ben, It sounds like you are trying to make the 'Sample time' parameter on blocks be tunable in the generated code. This is ...
quasi 5 anni fa | 0
| accettato
DLL from Simulink model with MEX - proto function
Hi all, This workflow is only supported if you have an inlined S-Function. That means there is a .tlc file for the S-Function. ...
circa 5 anni fa | 0
Custom storage classes for code generation
Hi Leopoldo, It looks like you are trying to use the custom storage class parameter in a block parameter that is not tunable. ...
circa 5 anni fa | 0
Code generation from level-2 C S-function containing Lapack function calls on targetPC.
Hi Wouter, Based on the error message it looks like the shipped lapack library with MATLAB was compiled for a 64-bit binaru but...
circa 5 anni fa | 0
Internal Signal logging during SIL Simulation
Hi Vishakha, Are you following the below workflow? https://www.mathworks.com/help/ecoder/ug/configuring-a-sil-or-pil-simulatio...
circa 5 anni fa | 0
Is it possible to assign arrays with different length for LUT parameters in generated code than in Simulink?
Edit: See below response
circa 5 anni fa | 0
| accettato
code generation with do not using temp local variable
Hi TaeHee, It is unlikely that you will be able to control the optimization to this level of detail. If you prefer the temporar...
circa 5 anni fa | 0
| accettato
How to do array operation With simulink blocks ?
Hi Sasidhar, It looks like that loop is adding two matricies. The "Add" or "Sum" block can do this: https://www.mathworks.com/...
circa 5 anni fa | 0
When I try to build my stateflow model, I got error "Function call triggered subsystems are not supported for subsystem based code/S-function generation. " What does it mean?
Hi Jenny, Based on the error, a right-click subsystem build has been performed on a function call subsystem, which is not suppo...
oltre 5 anni fa | 0
Generate code from referenced model without generating from the parent
Hi Guilherme, Does using "slbuild(modelName, 'ModelReferenceRTWTarget')" solve your issue? Thanks, Nick
oltre 5 anni fa | 0
I'm using Embedded Coder. Is there a way to configure the code generation process so that the dimensions of an input signal can be set at run time?
Hi David, Variable size signals are meant for signals that will change size during the execution of the model. It sounds like t...
quasi 6 anni fa | 0
How to make Simulink.Parameter parameters stored in model workspace tunable?
Hi Sean, This is a limitation of R2016b. In the <https://www.mathworks.com/help/releases/R2016b/simulink/slref/simulink.param...
quasi 6 anni fa | 0
| accettato
Real-time windows target Toolbox
Hi Zi, Yes, Real-Time Windows Target is now called Simulink Desktop Real-Time. It looks like the change happed in R2015a. ...
circa 6 anni fa | 0
| accettato
Code Generation Error - Why?
Hi Steve, This appears to be a bug. Please report this to Technical Support using the below link for further assitance. <...
circa 6 anni fa | 0
Crash when calling TLC library function LibBlockParameterDataTypeId()
Hi Olaf, I recommed reporting this crash to Technical Support. While some staff members such as myself browse MATLAB Answers,...
circa 6 anni fa | 0
| accettato
Does Matlab 2011b support Embedded Coder 7.0?
The Embedded Coder version is tied to the release of MATLAB, so you would need to upgrade MATLAB to R2018a to get Embedded Coder...
circa 6 anni fa | 1
| accettato
Simulink Coder Error : Unable to find build success text "### Successfully generated all binary outputs." in build log
It looks the root cause is that the LCC compiler does not support the neccessary Windows APIs required to compile the code gener...
circa 6 anni fa | 0
Running Simulink Coder gives warning 'GenSettings must be initialized'
If you have "clear all" in any model callbacks, especially the "Init Fcn" model callback, please remove that and try to generate...
circa 6 anni fa | 1
Matlab stop/crash/not work when i try to start Simulink
Hi everyone, This is believed to caused by a bug in glibc 2.19, the default in Ubuntu 14.04. The upstream bug report can be f...
circa 6 anni fa | 3
| accettato
Simulink Test: How to run the same test for MIL and SIL?
Hi Robert, I was able to accomplish this by creating two test harnesses, one for Normal mode, and then one for SIL. I then co...
oltre 6 anni fa | 0
Hi, i am using simscape library in simulink and want to know how to call and change specific block parameters from GUI.
Hi Mohamed, First, you can use a variable in the workspace to represent a parameter of the Solar Cell block. For example, you...
oltre 6 anni fa | 0
| accettato
Using matlab 2014b and m_map, and a script from Oct. 2017, I get error message.
Hi Knut, It looks like there is an issue with the license to the Optimization Toolbox, which the script uses. Please take a l...
oltre 6 anni fa | 0
MATLAB crashes while calling fir1 function
Hi Victor, I have created a case with Technical Support regarding this issue, and a Technical Support Engineer will be contac...
oltre 6 anni fa | 0
Call mex function in simulink/ s-function ?
Hi Hocine, It sounds like you used MATLAB Coder to generate a MEX for the MATLAB Function. If you want to use it in an S-Func...
oltre 6 anni fa | 1
how to change a function using a GPU CODER ?
Hi Arnaud, It sounds like the MATLAB function written to detect the traffic sign is not supported for GPU Code Generation. Pl...
oltre 6 anni fa | 0
| accettato
Where is Create Protected Model for Selected Model Block in simulink?
Hi Moonkwun, To see the the 'Create Protected Model for Selected Model Block' option, please right click on a Model block, he...
oltre 6 anni fa | 0
Simulink Arduino Mega 2560 digital input - PWM signal uncorrect value
Hi Maximilian, You are correct in that it is not possible to run true real-time simulations on the Mega 2560. Using Extern...
oltre 6 anni fa | 0
S-Function MAX6675 for Arduino MEGA2560
Hi Tobi, Based on the compiler errors and looking at the model, it looks like the custom code included in S-Function Builder ...
oltre 6 anni fa | 0
How to return likelihood using unscentedKalmanFilter/extendedKalmanFilter Object in the signal processing toolbox?
Hi Hao, I wasn't able to find any documentation relating to likelihood or log likelihood for the unscentedKalmanFilte and ext...
oltre 6 anni fa | 0