回答済み
Can I run the same Simulink model in different Matlab sessions at the same time? Or would they get mixed up?
Each session will be completely independent. The only way to have the sessions interact with each other is if you change the Si...

2ヶ月 前 | 1

| 採用済み

回答済み
How to setup common file in .XML or .txt format to declare all variables globally for using it in simulink and stateflow?
Are these "variables" fixed during the course of the simulation? If so, create parameters in a MATLAB script file and run the s...

2ヶ月 前 | 0

| 採用済み

回答済み
Target Scope only stores the data of last 27 seconds
Increase Number of samples from 40000 to a larger number.

2ヶ月 前 | 0

回答済み
How can i trigger a single activation of stateflow based on new receieved data?
Two options. You can use an event to trigger the statechart. In this case you will need Simulink logic to determine when the d...

2ヶ月 前 | 0

| 採用済み

回答済み
I just installed Matlab 2019 version A, and am unable to open any of our old MatLab files (.sfit extension).
https://www.mathworks.com/matlabcentral/answers/272067-how-to-get-my-original-x-y-data-from-saved-sfit#answer_212769

2ヶ月 前 | 0

回答済み
Simulink: Assign not using Y0 to initialize output in For loop
It would probaby be a lot easier to write and understand this if you use a MATLAB Function Block

2ヶ月 前 | 0

回答済み
mpt.parameter Structure Values Being Variant Dependent
You might be able to do this by turning the contents of each variant sub-system into reference model and then setting up each re...

2ヶ月 前 | 1

| 採用済み

回答済み
No supported compiler was found. you can install the freely available MinGW-w64 compiler.
You need to install a supported compiler. The minGW-w64 is free to download. From the Home tab in MATLAB, select Add-Ons, the ...

2ヶ月 前 | 0

回答済み
Does autocode generations using Embedded coder run in Linux
Yes, model-based design and code generation from MATLAB and Simulink is supported for Linux.

8ヶ月 前 | 0

回答済み
How to load GSL library in Simulink for C Caller?
You should be able to do this by adding the name of your library to the "Libraries" tab of the Additional Build information dial...

9ヶ月 前 | 0

| 採用済み

回答済み
Licence for Simulation Data Inspector
There is no additional license required. Simulation Data Inspector is part of Simulink. What is the error message?

9ヶ月 前 | 0

回答済み
How to reduce the C code generation time on Simulink?
Approx how many blocks are in your model? Are you using basic Simulink blocks are are you using Simscape blocks?

9ヶ月 前 | 0

回答済み
TLC for C++ S-Function
If the Simulink target is C, then the code that is emitted from your TLC will be placed into C files generated by Simuilnk and t...

9ヶ月 前 | 0

| 採用済み

回答済み
Cosimulation Simplorer Simulink: Simulink stuck in initializing mode
The most effective way to debug S-Function issues is to use a C code debugger to debug the S-Function as it is running in Simuli...

9ヶ月 前 | 0

回答済み
How to use the Assignment block?
I thing the proper modeling pattern for this case would be an "If Subsystem" connected to two "If-Action" subsystems. If condit...

9ヶ月 前 | 0

回答済み
Simulink Library Code Generation
Yes this is possible, but only if you ahve an Embedded Coder license. You must first configure the library blocks as follows: ...

9ヶ月 前 | 0

| 採用済み

回答済み
Can I call a Simulink generated DLL file in a Simulink model (Matlab 2018b)?
Yes, creating an S-Function one possible approach. I presonally prefer the legacy_code tool, but S-Function builder will also w...

9ヶ月 前 | 0

回答済み
Generate .exe or any other executable for simulink model
Yes, this can be done if you have a Simulink Coder license.

9ヶ月 前 | 0

回答済み
Debugging C S-Functions called from simulink using Visual Studio Code
https://www.mathworks.com/help/simulink/sfg/debugging-c-mex-s-functions.html

10ヶ月 前 | 0

| 採用済み

回答済み
How to use structure pointer as an argument of function in code generation?
You should be able to get a pointer to the struct passed to your function if you configure the subsystem to be atomic and set th...

10ヶ月 前 | 0

回答済み
integrate two simulink models
Create a new simulink model. Place 2 model blocks inside the new model, assign one model block to the ABS model, the other to t...

10ヶ月 前 | 0

回答済み
How to simulate huge simulink mode in GPU ?
Simulink does not support GPU for model building or code generation.

10ヶ月 前 | 0

回答済み
Simulink code generation utility function
If you change the configuration parameter UtilityFunctionGeneration to "Shared location", set_param(bdroot,'UtilityFuncGener...

11ヶ月 前 | 0

| 採用済み

回答済み
PWork initialization in c++ s-Function with 'Update Diagram' routine
Check aliveCounter for NULL before trying to delete it.

11ヶ月 前 | 0

回答済み
how to solve this problem
It looks like a problem in the Message Viewer block. Comment out the block to confirm. You might be able to fix by deleting cu...

11ヶ月 前 | 0

回答済み
Reuse a State Multiple Times in a Chart (variable times)
One option could be to use a Simulink For-Each subsystem. Inside the for-each subsystem would be a single instance of the state...

11ヶ月 前 | 1

| 採用済み

解決済み


Project Euler: Problem 6, Natural numbers, squares and sums.
The sum of the squares of the first ten natural numbers is, 1^2 + 2^2 + ... + 10^2 = 385 The square of the sum of the first ...

11ヶ月 前

解決済み


Project Euler: Problem 2, Sum of even Fibonacci
Each new term in the Fibonacci sequence is generated by adding the previous two terms. By starting with 1 and 2, the first 10 te...

11ヶ月 前

解決済み


Interpolator
You have a two vectors, a and b. They are monotonic and the same length. Given a value, va, where va is between a(1) and a(end...

11ヶ月 前

解決済み


Create a dictionary
The goal is to write a function that returns a dictionary from a list of words or phrases and their definitions. Here is an exam...

11ヶ月 前

Load more