Benjamin Thompson
Followers: 0 Following: 0
Programming Languages:
C++, C, MATLAB
Spoken Languages:
English
C++, C, MATLAB
Spoken Languages:
English
Feeds
回答済み
Simulink crashes when running MEX functions created with Visual Studio 2022 17.10.4
I guess I can answer my own question with some help from an older post and some great help from the MATLAB support team. MATL...
Simulink crashes when running MEX functions created with Visual Studio 2022 17.10.4
I guess I can answer my own question with some help from an older post and some great help from the MATLAB support team. MATL...
3ヶ月 前 | 0
| 採用済み
質問
Simulink crashes when running MEX functions created with Visual Studio 2022 17.10.4
We have been running MATLAB R2023B Update 7 with Simulink models using S-Functions built with VS 2022 17.9.0. When we updated t...
3ヶ月 前 | 1 件の回答 | 0
1
回答回答済み
Problem using loadlibrary in R2023B Update 7 and VS 2022 v17.9
I found that this works, and confirmed with Mathworks support that it is a recommended workaround for the situation where you up...
Problem using loadlibrary in R2023B Update 7 and VS 2022 v17.9
I found that this works, and confirmed with Mathworks support that it is a recommended workaround for the situation where you up...
6ヶ月 前 | 0
| 採用済み
質問
Problem using loadlibrary in R2023B Update 7 and VS 2022 v17.9
I just updated my VS 2022 Enterprise from version 17.8 to 17.9.0 and I am having a problem using loadlibrary. It cannot find C ...
6ヶ月 前 | 1 件の回答 | 0
1
回答質問
Unable to install mlpkginstall files on computer without Internet access
I have MATLAB R2023B and R2024A installed on my Windows 10 machine. This machine is on a closed network. I have been trying to...
7ヶ月 前 | 1 件の回答 | 0
1
回答回答済み
Simulink block diagram to figure
If you go to the Simulink Format tab, there is a screen shot option. That will send the current Simulink view into the clipboar...
Simulink block diagram to figure
If you go to the Simulink Format tab, there is a screen shot option. That will send the current Simulink view into the clipboar...
8ヶ月 前 | 1
回答済み
Converting 3D vector to scalar output
You can export your data to CSV and import into MATLAB as a table. Then use this script to review it and get some insight. It ...
Converting 3D vector to scalar output
You can export your data to CSV and import into MATLAB as a table. Then use this script to review it and get some insight. It ...
8ヶ月 前 | 0
回答済み
Stateflow beginner, need help with state diagram representation
You may wish to try the Stateflow Onramp training: https://matlabacademy.mathworks.com/details/stateflow-onramp/stateflow Just...
Stateflow beginner, need help with state diagram representation
You may wish to try the Stateflow Onramp training: https://matlabacademy.mathworks.com/details/stateflow-onramp/stateflow Just...
8ヶ月 前 | 0
| 採用済み
回答済み
Problem integrating python in simulink
Have you tried debugging the MATLAB code in the block? Maybe pout is empty. https://www.mathworks.com/help/simulink/ug/debuggi...
Problem integrating python in simulink
Have you tried debugging the MATLAB code in the block? Maybe pout is empty. https://www.mathworks.com/help/simulink/ug/debuggi...
10ヶ月 前 | 0
回答済み
Modelling and Simulation of a Centrifugal Compressor
Here is a link to the Mathworks onramp training. The Simulink Onramp training is very helpful. https://matlabacademy.mathwor...
Modelling and Simulation of a Centrifugal Compressor
Here is a link to the Mathworks onramp training. The Simulink Onramp training is very helpful. https://matlabacademy.mathwor...
10ヶ月 前 | 0
回答済み
Converting Matlab function (mscript fx) to a model.
Here is a link to the Mathworks onramp training. The Simulink Onramp training is very in learning how to use the product. ht...
Converting Matlab function (mscript fx) to a model.
Here is a link to the Mathworks onramp training. The Simulink Onramp training is very in learning how to use the product. ht...
10ヶ月 前 | 0
回答済み
How to open Tonatiuh output .DAT files in MATLAB?
fid = fopen('yourfilename.dat', 'r'); A = fread(fid, 'uint8=>uint8'); fclose(fid); Then the data is in A as bytes. If you ...
How to open Tonatiuh output .DAT files in MATLAB?
fid = fopen('yourfilename.dat', 'r'); A = fread(fid, 'uint8=>uint8'); fclose(fid); Then the data is in A as bytes. If you ...
10ヶ月 前 | 0
回答済み
Having trouble in running this code. What should I do next?
Here are fixes for the first few lines so that dlmread works. But not sure what you are trying to do after that. Calling resha...
Having trouble in running this code. What should I do next?
Here are fixes for the first few lines so that dlmread works. But not sure what you are trying to do after that. Calling resha...
10ヶ月 前 | 0
回答済み
Fourier transform of input data with varying sampling frequency
FFT only works with constant sample time by definition. Try using the interp1 function to resample the data set into a fixed sa...
Fourier transform of input data with varying sampling frequency
FFT only works with constant sample time by definition. Try using the interp1 function to resample the data set into a fixed sa...
10ヶ月 前 | 1
回答済み
Nonlinear impact model of a tennis racket and a ball
Try the MATLAB or Simulink OnRamp training, then attempt to create your model. If you run into problems then ask specific quest...
Nonlinear impact model of a tennis racket and a ball
Try the MATLAB or Simulink OnRamp training, then attempt to create your model. If you run into problems then ask specific quest...
10ヶ月 前 | 0
回答済み
When building a C++ program using MATLAB Engine in Visual Studio, is it possible to specify -R2017b?
It seems like it should be possible, provided you can install Visual Studio 2017 Professional or Enterprise Edition: https://ww...
When building a C++ program using MATLAB Engine in Visual Studio, is it possible to specify -R2017b?
It seems like it should be possible, provided you can install Visual Studio 2017 Professional or Enterprise Edition: https://ww...
10ヶ月 前 | 1
回答済み
Convert 4 bytes to single in Matlab Simulink blocks
If you have the Embedded Coder toolbox there is the Byte Pack, Byte Reversal, and Byte Unpack blocks. If not, you could try imp...
Convert 4 bytes to single in Matlab Simulink blocks
If you have the Embedded Coder toolbox there is the Byte Pack, Byte Reversal, and Byte Unpack blocks. If not, you could try imp...
10ヶ月 前 | 0
回答済み
Define Pointer in Bus (structure)
Simulink busses cannot use pointers or references. Can you use an array of integers? int b[10]; Simulink must know the si...
Define Pointer in Bus (structure)
Simulink busses cannot use pointers or references. Can you use an array of integers? int b[10]; Simulink must know the si...
10ヶ月 前 | 0
回答済み
Address operator on arrays in stateflow
Can you try using &data_a[0], &data{b[0], and &data_c[0]?
Address operator on arrays in stateflow
Can you try using &data_a[0], &data{b[0], and &data_c[0]?
10ヶ月 前 | 0
回答済み
S Function Builder Error.
This part could mean that the compiler or linker is having trouble with the space in the path name: No rule to make target `E...
S Function Builder Error.
This part could mean that the compiler or linker is having trouble with the space in the path name: No rule to make target `E...
10ヶ月 前 | 0
回答済み
How to call a function that uses a function pointer argument from Simulink?
Simulink only supports certain data types as inputs to blocks: integers, double, single, busses, enumerations, or arrays of tho...
How to call a function that uses a function pointer argument from Simulink?
Simulink only supports certain data types as inputs to blocks: integers, double, single, busses, enumerations, or arrays of tho...
10ヶ月 前 | 0
回答済み
How do you find the MTLAB code
See the documentation for tf and bode. Try setting up and plotting your transfer function. Ask questions if you have further p...
How do you find the MTLAB code
See the documentation for tf and bode. Try setting up and plotting your transfer function. Ask questions if you have further p...
10ヶ月 前 | 1
| 採用済み
回答済み
Improving speed in construction of a matrix
Not sure where your data for A is coming from, or where the output of B is going to. if each A -> B mapping is independent try ...
Improving speed in construction of a matrix
Not sure where your data for A is coming from, or where the output of B is going to. if each A -> B mapping is independent try ...
10ヶ月 前 | 0
| 採用済み
回答済み
My MATLAB keep crashing while i am importing an python model
You would need to use your python package manager to get your h5py package and HDF5 packages to match up: Installation — h5py 3...
My MATLAB keep crashing while i am importing an python model
You would need to use your python package manager to get your h5py package and HDF5 packages to match up: Installation — h5py 3...
10ヶ月 前 | 0
回答済み
Simulating 2 instances of the same model
In the configuration parameters for your reference models make sure the option in "Model Referencing" called "Total number of in...
Simulating 2 instances of the same model
In the configuration parameters for your reference models make sure the option in "Model Referencing" called "Total number of in...
10ヶ月 前 | 0
回答済み
Implementing the speed of wind into an aircrafts 6 DOF model
You would set the Aerodynamic Forces and Moments block mask parameter or Input Axes to Wind. Then you get a fifth input to the ...
Implementing the speed of wind into an aircrafts 6 DOF model
You would set the Aerodynamic Forces and Moments block mask parameter or Input Axes to Wind. Then you get a fifth input to the ...
10ヶ月 前 | 0
| 採用済み
回答済み
Converting double into custom data type (eg int14)
The embedded microcontroller or processing using the data can probably only work with 8-bit or 16-bit integers in doing calculat...
Converting double into custom data type (eg int14)
The embedded microcontroller or processing using the data can probably only work with 8-bit or 16-bit integers in doing calculat...
10ヶ月 前 | 0
回答済み
Simulink "Edit" Dashboard block - but for strings?
If you are not really trying to "link" the dashboard block to other blocks, then maybe the "String Constant" source block would ...
Simulink "Edit" Dashboard block - but for strings?
If you are not really trying to "link" the dashboard block to other blocks, then maybe the "String Constant" source block would ...
10ヶ月 前 | 0
回答済み
Mujoco Simulink Blockset Contact Detection
Since it is a Mathworks product you might try contacting Mathworks Support using a support request: Contact Us - MATLAB & Sim...
Mujoco Simulink Blockset Contact Detection
Since it is a Mathworks product you might try contacting Mathworks Support using a support request: Contact Us - MATLAB & Sim...
10ヶ月 前 | 1
回答済み
Unexpected behavior using mask popup controls with externally defined enum and get_param
It may be a race condition between the callback getting evaluated and other Simulink diagnostics getting generated related to an...
Unexpected behavior using mask popup controls with externally defined enum and get_param
It may be a race condition between the callback getting evaluated and other Simulink diagnostics getting generated related to an...
10ヶ月 前 | 0