I tried to insert the Neural Network code into the fnc block. At the entrance there is an array of 2 variables. One as the output. An error : "Undefined function or variable 'X'. The first assignment to a local variable determines its class." From the code: function [S,Xf,Af] = myNeuralNetworkFunction(V,~,~) %MYNEURALNETWORKFUNCTION neural network simulation function. % % Auto-generated by MATLAB, 28-Mar-2024 15:07:59. % % [Y] = myNeuralNetworkFunction(X,~,~) takes these arguments: % % X = 1xTS cell, 1 inputs over TS timesteps % Each X{1,ts} = Qx2 matrix, input #1 at timestep ts. % % and returns: % Y = 1xTS cell of 1 outputs over TS timesteps. % Each Y{1,ts} = Qx1 matrix, output #1 at timestep ts. % % where Q is number of samples (or series) and TS is the number of timesteps. %#ok
Is there any issue related MATLAB version as you are using 2019b version in this video and my MATLAB version is different. Kindly guide me in this regard
sir reserach paper implementation with matlab pe vedios bna dijye koi bhi research paper leke with matalb simualtion isse we get more command on matlab skillls
Sir, I am facing a problem to simulate a code using matlab function blocks, Error is (Output argument "M" (may be others) not assigned during call to "cell2mat") Sir can you please tell me that, how to solve this problem???
Thank you so much.. make more like this tutorial.
Thank you for your video. Please Sir make a video about the PID controller for temperature control of an oven.
Dear Sir, your urdu/hindi lectures are very helpful :-)
very helpful, thank you
I tried to insert the Neural Network code into the fnc block. At the entrance there is an array of 2 variables. One as the output. An error : "Undefined function or variable 'X'. The first assignment to a local variable determines its class."
From the code:
function [S,Xf,Af] = myNeuralNetworkFunction(V,~,~)
%MYNEURALNETWORKFUNCTION neural network simulation function.
%
% Auto-generated by MATLAB, 28-Mar-2024 15:07:59.
%
% [Y] = myNeuralNetworkFunction(X,~,~) takes these arguments:
%
% X = 1xTS cell, 1 inputs over TS timesteps
% Each X{1,ts} = Qx2 matrix, input #1 at timestep ts.
%
% and returns:
% Y = 1xTS cell of 1 outputs over TS timesteps.
% Each Y{1,ts} = Qx1 matrix, output #1 at timestep ts.
%
% where Q is number of samples (or series) and TS is the number of timesteps.
%#ok
Thanks, It helped :)
Nice lecture
Thank you so much bro
Thank you
Of course, very helpful and interesting....
Thank you
Is there any issue related MATLAB version as you are using 2019b version in this video and my MATLAB version is different. Kindly guide me in this regard
Yes in case of Simulink different version matters for some blocks or features.
sir reserach paper implementation with matlab pe vedios bna dijye koi bhi research paper leke with matalb simualtion isse we get more command on matlab skillls
Sir, I am facing a problem to simulate a code using matlab function blocks,
Error is (Output argument "M" (may be others) not assigned during call to "cell2mat")
Sir can you please tell me that, how to solve this problem???
I used the same procedure but got a lot of errors during simulation. Can you please guide me?
Sir how about a deep learning code alexnet? Is it possible if I did the same procedure as you did?
No each MATLAB function is not compatible with Simulink environment.
can you please some values from simulink to matlab coding
basically the reverse of the operation you have done here
sir, i face problem on my thesis, will you help me provide information simulation