Statistics
0 Questions
96 Answers
RANK
846
of 299,791
REPUTATION
90
CONTRIBUTIONS
0 Questions
96 Answers
ANSWER ACCEPTANCE
0.00%
VOTES RECEIVED
18
RANK
of 20,807
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 165,966
CONTRIBUTIONS
0 Problems
0 Solutions
SCORE
0
NUMBER OF BADGES
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
How to call image from database server to MATLAB?
Refer to these MATLAB Answer posts: Retrieving image from Firebase into MATLAB: https://www.mathworks.com/matlabcentral/answers...
2 months ago | 0
Is it possible to call image from Firebase server to MATLAB?
Yes, MATLAB can retrieve images from an online database like Firebase. If you have a url, you can read directly with imread. S...
2 months ago | 0
Using 3D plot to model orbit.
The straight line modeled in your code is a line going diagonally through space and not through the center of the ellipse. The s...
2 months ago | 0
draw a circle point-by-point with a spiral path
Refer to below code snippet to draw a spiral that starts from the circle's center and stops at the circumference. xc = 5; % x-...
2 months ago | 0
how to find elements between two values
There are a few errors in your code: 1) There is a logical error in the condition: (lon_argo(:) <= (min(lonlim))) & (lon_argo(:...
2 months ago | 0
How to create legend from cell array
1. Create a cell array of legend strings that combine "Platform_XX = code". code_numbers = {6900805, 6901831, 6901832, 6901895,...
2 months ago | 0
Create an index based Schmitt Trigger
Check out these implementations of Schmitt Trigger: Simulink library implementation of the behavioral model of Schmitt trigger:...
2 months ago | 0
Gradient descent with a simple function
The function gradient(F) computes and returns the one-dimensional numerical gradient of vector "F". The function takes the input...
2 months ago | 0
For loop faster in main script than from within function
The function overhead in and of itself increases the memory usage. However, if you pass large arrays or structures as input/outp...
2 months ago | 0
Can't read timeseries generated with "to file" in Simulink
The simulation output data is present in "Data" property in the MAT file saved by the "To File" block. In your case the data is ...
2 months ago | 0
How set scale limits of y-axis between 0-1 when values range from -9500 to 9200
You can use the "normalize" function to do min-max scaling of your dataset to the range [0,1]. data = [-9500, -5000, 0, 5000, 9...
2 months ago | 0
How to change Simulink compiler
Check out these documentation pages for building and running an executable on BeageBone hardware: Build and Run Executable on B...
2 months ago | 0
Add margin to pdf files using exportgrahics function
Hi @Amit Patel, There are two ways to add padding to figures saved by exportgraphics: 1. Use Padding parameter. Please note th...
7 months ago | 0
| accepted
Is it possible to schedule the sample time in Simulink model? for ex. from t=0 to t=10ms time step=1e-5, for t>10ms time step= 1e-9
No, as per my understanding, parameters such as step size and sample time are non-tunable during the simulation and cannot be mo...
7 months ago | 0
Problem with operating two FMU blocks in one simulink simulation
Hi @Tom Bernand, I tried creating a simple example model with two Co-Simulation FMUs where output of first FMU is fed as input ...
7 months ago | 0
Java exception occurred: com.mathworks.toolbox.slproject.Exceptions.CoreProjectException: The archive file specified does not exist.
The error seems to imply that the archive file directory from which the project is being created does not exist. Please ensure t...
7 months ago | 0
Can anyone please tell me where can I find the path for com.mathworks.toolbox.slproject.project.creation.ProjectCreatorFromZip.validateArchive
The error seems to imply that the archive file directory from which the project is being created does not exist. Please ensure t...
7 months ago | 0
Simulation for buffer energy model
There's missing logic in the Monte Carlo simulation. muo_sum is initialized but never updated. muo_sum(i)=0; %Initialising mu_o...
7 months ago | 0
How to extract data out of coi of wcoherence?
Try comparing the y coordinates at a given time stamp to the values present in the coherence matrix and coi vector. Pseudocode ...
7 months ago | 0
How to use external ode solver in Simulink
Simulink supports cosimulation between components with local solvers or involves external simulation tools. For example, co-simu...
7 months ago | 0
Simulink Model does not run simulation - initializing never stops
It's possible that the step size determined by the solver is too small, which is why the model seems to run indefinitely. Try th...
7 months ago | 0
How can I generate code using embedded coder for a model that I have as FMU (FMU import block or otherwise) ?
Code generation for Simulink model with FMU block is supported. Here's the details: FMI Version 3.0 is supported from MATLAB R2...
7 months ago | 0
Update bus selector by matlab script
For Bus Creator block, the signal name can be changed programatically. However, for Bus Selector block, the Input Signals is a r...
7 months ago | 0
Use of bus selector
You can achieve this by using Switch block from the Signal Routing Library and connecting the output of this block to a Scope. T...
7 months ago | 0
Does Matlab FMI export will support operating FMU serialisation function ?
exportToFMU function provides the argument EnableFMUState - Option to export model to FMU with FMUState. This is valid for Co-Si...
8 months ago | 0
Simulink.fmuexport.ExportSimulinkProjectToFMU not found in command windows (Matlab R2018b)
I tried using the command Simulink.fmuexport.ExportSimulinkProjectToFMU in MATLAB R2018b and it worked for me. Try clearing cach...
8 months ago | 1
How to run a simulink model with a "co-simulation" fmu and bus signals?
Check out these MATLAB Answers posts with the same error message: https://www.mathworks.com/matlabcentral/answers/2131646-fmi2e...
8 months ago | 0
How to automatically to load an FMU in Simulink 2016a? Has someone code?
After adding the FMU Import Block using add_block, you can set the FMU file using set_param: set_param(fmuBlockPath, 'FMUName',...
8 months ago | 0
Input and Output ports are not shown for imported Amesim FMU model.
You need to check if the FMU file you are trying to import has the expected number of inports and outports. You can confirm this...
8 months ago | 0
Export Standalone FMU with External C++ Code is not working
The error message indicates that MATLAB is unable to locate FMUExportWithExternalCPP.dll in its path, preventing the creation of...
8 months ago | 0