提问


Force CMSIS functions in Simulink
Dear I am generating code for a Cortex-M target, and have installed the Embedded Coder Cortex-M Hardware Support Package to ena...

6 years 前 | 0 个回答 | 0

0

个回答

已回答
stateflow variant states possible?
You may want to have a look at Simulink Functions inside Stateflow: https://nl.mathworks.com/help/stateflow/ug/simulink-function...

6 years 前 | 0

已回答
Syntax Error with Fcn Block in Simulink
Are you sure the input of the function block has a signal dimension of 6?

6 years 前 | 0

已回答
What is the fastest way to run same simulink model multiple times ?
What is exactly the issue you are having with this approach? The speed, or the way you save and load data? If you want to run i...

6 years 前 | 0

| 已接受

已回答
Red wiring and red boundary of block in Simulink
Simulink uses red edges and signals to highlight blocks and signals in a few cases (there may be more): When there is an algebr...

6 years 前 | 2

提问


Can I deploy code on a Raspberry PI with MATLAB Home?
Hi all I have a MATLAB Home edition at home to play around with its hardware support packages for Raspberry Pi, Android and do ...

6 years 前 | 1 个回答 | 0

1

个回答

已回答
How can I generate triangular wave with random period ?
Use an Integrator block which you reset each time it becomes lower than zero, and use a random - but constant - input. Reset ano...

6 years 前 | 0

| 已接受

已回答
Why do I not see local variable name in the generated code when using 'Auto' storage class in Embedded coder?
You should change the storage class to 'Model default' or any other that fits your needs. Embedded Coder sometimes does not use ...

6 years 前 | 2

已回答
Configuration Set error while settings are correct
The error apparently talks about the 'Test hardware' in the hidden menu underneath, it also has a Device Vendor and Device Type ...

6 years 前 | 0

| 已接受

提问


Configuration Set error while settings are correct
Hi I have installed the Cortex-M hardware support package and now I want to generate code with the CMSIS code replacement packa...

6 years 前 | 1 个回答 | 0

1

个回答

已回答
Use bus as output port in simulink
You need to create a Bus Object and set the data type of the output port to Bus Object, referring to the name of the Bus Object ...

6 years 前 | 0

已回答
How to convert complex signals to sinusoidal signal?
It is not possible to change the display mode of a Scope block other than displaying time on the horizontal axis. If you want an...

6 years 前 | 1

已回答
Why is the Data Type Conversion ignored (from double to uint16)?
I cannot figure out just yet why the data type is overriden, but you can at least prevent it by setting 'Data type override' to ...

6 years 前 | 0

已回答
Can I use MinGW64 to build a realtime model?
I have personally not tried it, I use Matlab 2019a with Visual Studio 2017 Pro (it is really not that expensive). Why not just t...

6 years 前 | 0

已回答
Is it possible to output a NaN from the signal editor block?
I don't exactly know which error your get, but maybe you just need to set the Diagnostic settings to not throw an error for NaN ...

6 years 前 | 0

已回答
Upgrade from student to standard or home license
You will need to purchase new licenses. MATLAB Home licenses are available here. Depending on your region or currency, base MATL...

6 years 前 | 2

| 已接受

已回答
Simulink - Modifying Data Inspector sample time
The Simulation Data Inspector cannot log data with a higher sampling rate than the base sample rate of your model. If you want ...

6 years 前 | 1

| 已接受

已回答
How to Connect Simscape circuit resistor with PV Array Block ?
You should add a Solver Configuration and Electrical Reference block in the Sim Electrical domain.

6 years 前 | 1

| 已接受

已回答
Unwanted circles in graph (Simulink)
You have enabled markers in your scope window. You can change line and marker styles by going to the 'View' and then 'Style...' ...

6 years 前 | 21

| 已接受

已回答
finding a single board computer compatible with simulink real time as a target pc
I have succesful experiences with running Simulink Real-time on Kontron Kbox embedded computers: https://www.kontron.com/indust...

6 years 前 | 2

已回答
Is there workaround to use Dashboard block indicators in External mode (Simulink Real Time)?
I would strongly recommend creating a MATLAB App with App Designer and interface with your model running in External mode with f...

6 years 前 | 0

已回答
Use a integrator in Simulink/MATLAB 2015a
Is the block a discrete block or a continuous block? When using a continuous block in a model with only discrete blocks, your so...

6 years 前 | 0

已回答
'referenced model not connected to external simulation' in Simulink real time
It is impossible to enter External Mode for referenced models. If you want to monitor or log signals, you need to bring them out...

6 years 前 | 0

已回答
Asynchronous Machine - Stator Delta Configuration
To connect the stator in delta configuration, connect a Phase Permute block between ports ~1 and ~2. To connect the stator in wy...

6 years 前 | 0

已回答
Partially missing values while reading serial input from a microcontroller (Simulink Instrument Control Toolbox)
Your Simulink model is reading at 10kHz, while your Atmel controller is only sending each one second. This means that you are re...

6 years 前 | 0

已回答
How do I run a controller with Simulink Real Time/Simulink Desktop Real Time?
I would recommend running Simulink Real-time on the Intel NUC. I don't know which CPU you have fitted inside the NUC, but some m...

6 years 前 | 0

已回答
Why are there multiple models of same device?
As you may have noticed, Simscape contains many physical domains out of the box in the Foundation Library, such as mechanical, t...

6 years 前 | 2

已回答
I don't want to use local variable in chart
You need to check your 'Configuration Parameters', under the section 'Code Generation' part 'Optimization'. For your requirement...

6 years 前 | 0

| 已接受

已回答
Simulink Code Generation with schematic view
What you are asking is basically for the end-user to run a simulation of a Simulink model in MATLAB, which requires MATLAB and t...

6 years 前 | 0

| 已接受

已回答
Data Dictionary usage with multiple harnesses
I have chosen to split-off all common data variables inside dd_Simulation and dd_Test and put them into dd_Global. The dd_Contro...

6 years 前 | 0

| 已接受

加载更多