Feeds
提问
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...
5 years 前 | 1 个回答 | 1
1
个回答提问
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...
5 years 前 | 1 个回答 | 0
1
个回答提问
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...
6 years 前 | 1 个回答 | 0
1
个回答提问
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...
7 years 前 | 1 个回答 | 0
1
个回答提问
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 ...
7 years 前 | 1 个回答 | 0
1
个回答提问
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...
8 years 前 | 1 个回答 | 1
1
个回答提问
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...
8 years 前 | 1 个回答 | 0
1
个回答提问
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...
8 years 前 | 1 个回答 | 0
1
个回答已解决
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:...
8 years 前
提问
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...
8 years 前 | 2 个回答 | 0
2
个回答提问
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...
8 years 前 | 1 个回答 | 0
1
个回答提问
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,...
9 years 前 | 0 个回答 | 0
0
个回答提问
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,...
9 years 前 | 1 个回答 | 0
1
个回答提问
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 ...
10 years 前 | 1 个回答 | 0
1
个回答提问
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...
10 years 前 | 0 个回答 | 1
0
个回答提问
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...
10 years 前 | 1 个回答 | 0
1
个回答提问
"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...
12 years 前 | 1 个回答 | 0
1
个回答提问
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....
12 years 前 | 1 个回答 | 0
1
个回答提问
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,...
12 years 前 | 4 个回答 | 0
4
个回答提问
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...
12 years 前 | 1 个回答 | 0
1
个回答提问
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...
12 years 前 | 1 个回答 | 0
1
个回答提问
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 ...
12 years 前 | 1 个回答 | 0
1
个回答已回答
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); ...
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); ...
12 years 前 | 0
提问
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...
12 years 前 | 3 个回答 | 0
3
个回答提问
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...
13 years 前 | 1 个回答 | 0
1
个回答提问
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...
13 years 前 | 1 个回答 | 0
1
个回答提问
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...
13 years 前 | 0 个回答 | 0
0
个回答提问
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...
13 years 前 | 0 个回答 | 0
0
个回答提问
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...
13 years 前 | 2 个回答 | 0