Skip to content

Commit

Permalink
Merge branch 'main' into gui
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmedosama07 authored Apr 25, 2023
2 parents a328128 + 4987d6a commit d9bc4e6
Show file tree
Hide file tree
Showing 7 changed files with 62 additions and 1 deletion.
3 changes: 2 additions & 1 deletion longLine.m
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,6 @@
msg = [line1; line2; line3; ""; line4; line5];
msgbox(msg, "Long Line", CreateStruct);


[A, B, C, D] = struct('x', num2cell([NaN, NaN, NaN, NaN])).x;
end
end
9 changes: 9 additions & 0 deletions main.m
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,12 @@
[A, B, C, D] = lineParameters(length, R, Cap, L);

[efficiency, VR, P_r, pf] = linePerformance(A, B, C, D);


fprintf('Line resistance: %f\n', R);
fprintf('Line capacitance: %f\n', Cap);
fprintf('Line inductance: %f\n', L);

fprintf('***************************************\n');
fprintf('A = %f + j%f\t B =%f + j%f\n', real(A), imag(A), real(B), imag(B));
fprintf('C = %f + j%f\t D =%f + j%f\n', real(C), imag(C), real(D), imag(D));
Binary file added mainstandaloneApplication/main.exe
Binary file not shown.
2 changes: 2 additions & 0 deletions mainstandaloneApplication/mccExcludedFiles.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
The List of Excluded Files
Excluded files Exclusion Message ID Reason For Exclusion Exclusion Rule
47 changes: 47 additions & 0 deletions mainstandaloneApplication/readme.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
main Executable

1. Prerequisites for Deployment

Verify that version 9.10 (R2021a) of the MATLAB Runtime is installed.
If not, you can run the MATLAB Runtime installer.
To find its location, enter

>>mcrinstaller

at the MATLAB prompt.
NOTE: You will need administrator rights to run the MATLAB Runtime installer.

Alternatively, download and install the Windows version of the MATLAB Runtime for R2021a
from the following link on the MathWorks website:

https://www.mathworks.com/products/compiler/mcr/index.html

For more information about the MATLAB Runtime and the MATLAB Runtime installer, see
"Distribute Applications" in the MATLAB Compiler documentation
in the MathWorks Documentation Center.

2. Files to Deploy and Package

Files to Package for Standalone
================================
-main.exe
-MCRInstaller.exe
Note: if end users are unable to download the MATLAB Runtime using the
instructions in the previous section, include it when building your
component by clicking the "Runtime included in package" link in the
Deployment Tool.
-This readme file



3. Definitions

For information on deployment terminology, go to
https://www.mathworks.com/help and select MATLAB Compiler >
Getting Started > About Application Deployment >
Deployment Product Terms in the MathWorks Documentation
Center.




1 change: 1 addition & 0 deletions mainstandaloneApplication/requiredMCRProducts.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
35000 35010
1 change: 1 addition & 0 deletions mainstandaloneApplication/unresolvedSymbols.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Path Symbol Reason

0 comments on commit d9bc4e6

Please sign in to comment.