exporting HYSYS stripchart using MATLAB
0 个评论
回答(7 个)
Hi Jun,
I did some experiment by creating a functional strip chart by utilizing the appropriate plotting functions available in Matlab, such as plot or stairs, to visualize the data series effectively and trying to find out if there were any bugs associated using ‘Stripchart’. Apparently there seems to be no issue with it.
>> % Create a time vector time = 0:0.1:10;
% Generate some sample data data1 = sin(time); data2 = cos(time);
% Create a figure for the strip chart figure; subplot(2,1,1); plot(time, data1, 'DisplayName', 'Sin Data'); title('Sin Data');
subplot(2,1,2); plot(time, data2, 'DisplayName', 'Cos Data'); title('Cos Data');
% Print out the results disp('Strip Chart Data:'); disp(['Time: ', num2str(time)]); disp(['Sin Data: ', num2str(data1)]); disp(['Cos Data: ', num2str(data2)]);
So, it sounds like you have to ensure that the syntax used to access the stripchart data is correct. Double-check the spelling and capitalization of 'StripChart' in your code. Confirm that the class reference 'Interface.4FCE6E77_A334_46E3_9AF3_A7D109ECD0B9' is accurate and corresponds to the correct object containing the stripchart data. Make sure that all necessary libraries or dependencies required for accessing stripchart data are properly imported and initialized in your HYSYS project. Hopefully, following these suggestions, it will help accomplish your goal.
6 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!