Community Profile

photo

John F


Magna Electronics

Con actividad desde 2011

Estadísticas

All
  • Thankful Level 3
  • Solver

Ver insignias

Content Feed

Ver por

Pregunta


Using assignin with structure elements
Hi, I have created a script where I want to assign a character string to an element in a structure, namely the "description" fi...

más de 4 años hace | 1 respuesta | 1

1

respuesta

Pregunta


Enums of smaller data types
Hi everyone, I am wondering if there's a way to create enumerated types of smaller sizes. When generating code with Simulink mo...

más de 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Finding duplicate variables in multiple M files
I am working on a legacy program and have inherited a number of m files that are used for defining parameters in our Simulink mo...

alrededor de 6 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Using PTC Integration for Source Control in Simulink Project
I'm using a PTC integration called SCC that implements a Source Control Interface. It looks like it can do a lot of things inclu...

casi 7 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How to bypass startup file in Application Builder
I am trying to build a standalone app. I have been successful in the past doing it. However, I now have a custom startup.m file ...

alrededor de 7 años hace | 1 respuesta | 0

1

respuesta

Pregunta


A2L File from Embedded Coder
I want to be able to generate an A2L file from Embedded Coder. I know I can select to generate it from the options in the code b...

más de 7 años hace | 1 respuesta | 1

1

respuesta

Pregunta


Creating a standalone executable with Vehicle Network Toolbox commands
Hi everyone, I'm trying to build a standalone app that use "canMessageImport" to pull in an ACSII file from Vector and parses...

más de 7 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Extract signal info from a CAN log
Hello everyone, I have a number of CAN logs collected using Vector tools. Each log has the entire CAN network collected for s...

más de 7 años hace | 1 respuesta | 0

1

respuesta

Resuelto


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

casi 8 años hace

Pregunta


Undefined function or variable error when trying to deploy a gui
I am creating a GUIDE-based GUI, and I want to deploy it creating a standalone app. When I give the executable to anyone else, t...

alrededor de 8 años hace | 2 respuestas | 0

2

respuestas

Pregunta


How to have multiple GUI functions access varargin?
Is there a way to have all the functions in a GUIDE-based GUI access the input arguments to the function? I've done this by crea...

alrededor de 8 años hace | 1 respuesta | 0

1

respuesta

Pregunta


opening a simulink model from 2014b in 2013b
I saved one of my Simulink models in R2014b and am trying now to open it in R2013b. I'm getting all sorts of errors, dead links,...

más de 8 años hace | 0 respuestas | 0

0

respuestas

Pregunta


opening a simulink model from 2014b in 2013b
I saved one of my Simulink models in R2014b and am trying now to open it in R2013b. I'm getting all sorts of errors, dead links,...

más de 8 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Constraining parameters with Sys ID Toolbox
I'm trying to fit a TF model to some data, and I need the poles and zeros to be in the left-half plane. My better fits seem to ...

más de 9 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How to get a readable report from the Comparison Tool?
I am trying to export my report from the comparison tool into a format that is more readable. I see where I can save as HTML, b...

más de 9 años hace | 0 respuestas | 1

0

respuestas

Pregunta


Using "kalman" with a Zero B matrix
I am trying to use the "kalman" command to compute the steady-state gains for a Kalman filter in a signal tracking problem. The...

casi 10 años hace | 1 respuesta | 0

1

respuesta

Pregunta


"Execute At Initialization" Stateflow check
I have a Stateflow diagram where I need to initialize a few variables when the chart at the start. I am getting a warning about...

alrededor de 11 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Creating multiple time entities from a single SimEvents entity generator
I am trying to build a CAN bus simulation with multiple messages. The message list may change in size depending on the program....

más de 11 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Path radius from lat/long data
I am working on computing the approximate radius of curvature of a road. I have lat/long coordinates for points along the path,...

más de 11 años hace | 4 respuestas | 0

4

respuestas

Pregunta


Calling a DLL created from Simulink Coder
I have created a Win32 DLL from a Simulink diagram using Simulink Coder and the template ert_shrlib.tlc. I need to specify to a...

casi 12 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Creating a Windows DLL from a Simulink Diagram
I need to create a library that other applications can call from a Simulink diagram. I'm assuming I can use "grt.tlc" to create...

alrededor de 12 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Accessing inputs to a masked block from the mask initialization
I'm trying to get value of an input to a masked block to use in the mask itself. Basically, I want to do a "find" on the input ...

alrededor de 12 años hace | 1 respuesta | 0

1

respuesta

Respondida
Easy bit reversal
I frown upon looping in Matlab, but this worked for me: for i = 1:WordLength h = bitshift(h,1) + bitand(x,1); ...

alrededor de 12 años hace | 0

Respondida
Easy bit reversal
Nice guys. thanks.

alrededor de 12 años hace | 0

Pregunta


Easy bit reversal
I need a function to reverse the bits of an int. I see I can flip bytes around, but that doesn't reverse the bit order. Any ea...

alrededor de 12 años hace | 3 respuestas | 0

3

respuestas

Pregunta


Calculating the number of pixels between objects in an image
I'm working on estimating the distance between 2 lines in an image. I need to know how to determine the number of pixels betwee...

alrededor de 12 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Plugging in USB cameras with Image Acquisition Toolbox
I am running a Simulink diagram where I occasionally have 2 cameras acquiring images. If I plug in the 2nd camera after I start...

alrededor de 12 años hace | 1 respuesta | 0

1

respuesta

Pregunta


S-function Builder keeps losing entries
I used the S-Function Builder block to create an S-function. When I changed paths in the Matlab Workspace, I lost the entries i...

más de 12 años hace | 0 respuestas | 0

0

respuestas

Pregunta


CMEX S-function vs. Model blocks: delay in execution?
I am running a Simulink model and an S-Function of that model in parallel. The S-function was generated for real-time using RTW...

más de 12 años hace | 0 respuestas | 0

0

respuestas

Pregunta


Stateflow chart without states
I have seen examples before of using a state chart without states to implement logical expressions. I tried doing this recently...

más de 12 años hace | 2 respuestas | 0

2

respuestas

Cargar más