Hi,
I assume you have magnitude and the corresponding time data of the signal in a MAT-file. To generate a voltage of your interest you can use Controlled Voltage Source Block with Signal Editor Block in Simulink as an input. You can import your MAT-file in to the Signal Editor Block. For this, you need to modify your MAT-file slightly as shown in the following code:
magnitude=[1 2 3 4];% Assume these values are for the magnitude of the signal, you need to replace these values with your signal magnitude
time=[0.1 0.2 0.3 0.4]; % Similarly time data
timeSeriesData=timeseries(magnitude,time); % Create time series data
dataSet=Simulink.SimulationData.Dataset(timeSeriesData); % Create Simulink data set
save('matFile.mat','dataSet');% Save it to MAT-file
Once you modify your MAT-file in the above fashion, import the MAT-file to the Signal Editor Block and give this as an input to your Controlled Voltage Source Block.
The following documentation may help
Hope this helps,
Sai Sasank Kota